From e5d0af7431ab6d53e675a8f806eac14244b0e59c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Fri, 19 May 2023 14:13:32 +0300 Subject: [PATCH] add admin abuse pasta --- bot.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bot.rb b/bot.rb index 74711ec..224801f 100644 --- a/bot.rb +++ b/bot.rb @@ -6,6 +6,8 @@ bot = Discordrb::Bot.new token: ENV['DISCORD_TOKEN'] BOOKMARK_EMOJI = '🔖' PIN_EMOJI = '📌' +ADMIN_PASTA = 'Thats not how it works, thats an abuse of power and if you keep doing that you will quickly find yourself no longer a moderator at some point.' + TRIM_MESSAGE_LENGTH = 500 $sentence = {} @@ -80,4 +82,8 @@ bot.message_edit(in: Integer(ENV['SENTENCE_CHANNEL'])) do |event| $sentence[event.message.id] = event.message.content end +bot.message(with_text: '!abuse') do |event| + event << ADMIN_PASTA +end + bot.run