Skip to content

Commit

Permalink
Update commands.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DKBOTx authored Jun 4, 2022
1 parent 9c8a0be commit 17bd00f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
BATCH_FILES = {}

@Client.on_message(filters.command("start") & filters.incoming & ~filters.edited)
async def start(bot, client, message: pyrogram.types.Message):
async def start(client, message: pyrogram.types.Message, bot):

if message.chat.type in ['group', 'supergroup']:
buttons = [[
Expand Down

0 comments on commit 17bd00f

Please sign in to comment.