stop propagation on cmds.

This commit is contained in:
thedragonsinn
2024-01-16 11:40:27 +05:30
parent b9b5e29c9b
commit 6771e7697e

View File

@@ -16,6 +16,7 @@ async def cmd_dispatcher(bot: BOT, message: Message) -> None:
x = await run_coro(coro, message)
if not x and message.is_from_owner:
await message.delete()
message.stop_propagation()
@bot.on_message(filters.convo_filter, group=0)