mirror of
https://github.com/SantaSpeen/RoyaltyIT-tg-bot.git
synced 2026-04-13 11:16:06 +00:00
Small fixes
This commit is contained in:
@@ -201,10 +201,11 @@ async def all_messages(msg: types.Message):
|
||||
elif mute_all:
|
||||
await msg.delete()
|
||||
|
||||
for k, v in config.static_message.items():
|
||||
if k == text[1:len(k) + 1]:
|
||||
await msg.reply(config.static_message[k], parse_mode=ParseMode.MARKDOWN)
|
||||
return
|
||||
if text:
|
||||
for k, v in config.static_message.items():
|
||||
if k == text[1:len(k) + 1]:
|
||||
await msg.reply(config.static_message[k], parse_mode=ParseMode.MARKDOWN)
|
||||
return
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user