From 7f16aae0caec215c81bd0c7584e85e5b2cf0d105 Mon Sep 17 00:00:00 2001 From: Gagan Date: Fri, 15 Mar 2024 21:26:56 +0530 Subject: [PATCH] Update pyroplug.py --- main/plugins/pyroplug.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/plugins/pyroplug.py b/main/plugins/pyroplug.py index 89814e95..b6da7efd 100644 --- a/main/plugins/pyroplug.py +++ b/main/plugins/pyroplug.py @@ -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]