mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 01:15:34 +00:00
keyword fix a bug
This commit is contained in:
parent
e38b747347
commit
38fc0ba479
@ -975,7 +975,7 @@ async def setdata(context):
|
||||
@listener(incoming=True, outgoing=True, ignore_edited=True)
|
||||
async def auto_reply(context):
|
||||
global read_context
|
||||
asyncio.sleep(random.randint(0, 100) / 1000)
|
||||
await asyncio.sleep(random.randint(0, 100) / 1000)
|
||||
if (context.chat_id, context.id) in read_context:
|
||||
return
|
||||
read_context[(context.chat_id, context.id)] = True
|
||||
|
Loading…
Reference in New Issue
Block a user