Skip to content

Commit

Permalink
Update bot.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AbirHasan2005 authored May 12, 2022
1 parent 25a8b5c commit 821dbd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async def SettingsBot(bot, cmd):
)


@AHBot.on_message(filters.document | filters.video | filters.photo & filters.private)
@AHBot.on_message((filters.document | filters.video | filters.photo) & filters.private)
async def VidWatermarkAdder(bot, cmd):
if not await db.is_user_exist(cmd.from_user.id):
await db.add_user(cmd.from_user.id)
Expand Down

0 comments on commit 821dbd1

Please sign in to comment.