Update fun.py

Signed-off-by: Yasir Aris M <git@yasirdev.my.id>
This commit is contained in:
Yasir Aris M 2024-01-21 13:47:14 +07:00 committed by GitHub
parent 7389f4abc9
commit 2f6b3a9622
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -217,7 +217,7 @@ async def givereact(c, m):
await m.reply(str(err))
@app.on_message_reaction_count_updated(filters.chat(-1001201566570), group=10)
@app.on_message_reaction_updated(filters.chat(-1001201566570))
@capture_err
async def reaction_update(_, ctx):
async def reaction_update(self, ctx):
await self.send_message(ctx.chat.id, message_thread_id=ctx.message_thread_id, text=ctx)