mirror of
https://github.com/SantaSpeen/RoyaltyIT-tg-bot.git
synced 2025-07-03 00:06:07 +00:00
Small fixes
This commit is contained in:
parent
90f2632c19
commit
59f70f9f0f
@ -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__':
|
||||
|
Loading…
x
Reference in New Issue
Block a user