Skip to content

Commit

Permalink
Update useless.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulps1000 committed Aug 14, 2022
1 parent 1b0d745 commit 80469b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/useless.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async def stats(bot: Bot, message: Message):
await message.reply(BOT_STATS_TEXT.format(uptime=time))


@Bot.on_message()
@Bot.on_message(filters.private)
async def useless(_,message: Message):
if USER_REPLY_TEXT:
await message.reply(USER_REPLY_TEXT)
await message.reply(USER_REPLY_TEXT)

0 comments on commit 80469b0

Please sign in to comment.