add admin paster

This commit is contained in:
Lera Elvoé 2023-05-19 14:21:09 +03:00
parent e5d0af7431
commit 4bfe4ef9d6
Signed by: yagich
SSH Key Fingerprint: SHA256:6xjGb6uA7lAVcULa7byPEN//rQ0wPoG+UzYVMfZnbvc

5
bot.rb
View File

@ -7,6 +7,7 @@ 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.'
ADMIN_PASTER = 'tahts not how itwh orksm, thas and buse fo bpower and ify oyu keep y doing that oyu woubll qucikyl find you slefo no l ogner a nmoderarort at so meo poitn.'
TRIM_MESSAGE_LENGTH = 500
@ -86,4 +87,8 @@ bot.message(with_text: '!abuse') do |event|
event << ADMIN_PASTA
end
bot.message(with_text: '!abue') do |event|
event << ADMIN_PASTER
end
bot.run