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 1b0d745 commit 80469b0Copy full SHA for 80469b0
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()
+@Bot.on_message(filters.private)
17
async def useless(_,message: Message):
18
if USER_REPLY_TEXT:
19
- await message.reply(USER_REPLY_TEXT)
+ await message.reply(USER_REPLY_TEXT)
0 commit comments