We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef6234c commit c434b67Copy full SHA for c434b67
plugins/useless.py
@@ -13,7 +13,7 @@ async def stats(bot: Bot, message: Message):
13
await message.reply(BOT_STATS_TEXT.format(uptime=time))
14
15
16
-@Bot.on_message(filters.private)
+@Bot.on_message(filters.private & filters.incoming)
17
async def useless(_,message: Message):
18
if USER_REPLY_TEXT:
19
await message.reply(USER_REPLY_TEXT)
0 commit comments