Skip to content

Commit

Permalink
Update pyroplug.py
Browse files Browse the repository at this point in the history
  • Loading branch information
devgaganin authored Mar 15, 2024
1 parent 3652833 commit 7f16aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/plugins/pyroplug.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def thumbnail(sender):
user_chat_ids = {}

# Command function to set user's chat ID
@client.on_message(filters.command("setchat") & filters.private)
@bot.on_message(filters.command("setchat") & filters.private)
async def set_chat_id(client, message):
# Extract chat ID from the message
chat_id = message.text.split(" ", 1)[1]
Expand Down

0 comments on commit 7f16aae

Please sign in to comment.