mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-16 07:39:26 +00:00
Plug-in yvlu -> F**k Cache
This commit is contained in:
parent
b35fdcb875
commit
11a285545c
@ -14,7 +14,6 @@ from pagermaid.utils import alias_command
|
||||
WAITING = 0
|
||||
MSG = None
|
||||
|
||||
|
||||
@listener(is_plugin=False, incoming=True, outgoing=False, igonre_edited=True, privates_only=False)
|
||||
async def wait(_, message):
|
||||
global WAITING, MSG
|
||||
@ -22,7 +21,6 @@ async def wait(_, message):
|
||||
WAITING = 0
|
||||
MSG = message
|
||||
|
||||
# Wait until WAITING is 0, return MSG
|
||||
async def wait_for_message():
|
||||
global WAITING, MSG
|
||||
while WAITING:
|
||||
|
Loading…
Reference in New Issue
Block a user