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