mirror of
https://github.com/SantaSpeen/RoyaltyIT-tg-bot.git
synced 2025-07-04 00:35:29 +00:00
Small fixes
This commit is contained in:
parent
90f2632c19
commit
59f70f9f0f
@ -201,6 +201,7 @@ async def all_messages(msg: types.Message):
|
|||||||
elif mute_all:
|
elif mute_all:
|
||||||
await msg.delete()
|
await msg.delete()
|
||||||
|
|
||||||
|
if text:
|
||||||
for k, v in config.static_message.items():
|
for k, v in config.static_message.items():
|
||||||
if k == text[1:len(k) + 1]:
|
if k == text[1:len(k) + 1]:
|
||||||
await msg.reply(config.static_message[k], parse_mode=ParseMode.MARKDOWN)
|
await msg.reply(config.static_message[k], parse_mode=ParseMode.MARKDOWN)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user