🐛 Remove asyncio
This commit is contained in:
parent
0cc112f316
commit
0b0bc44b27
@ -1,6 +1,5 @@
|
|||||||
""" PagerMaid initialization. """
|
""" PagerMaid initialization. """
|
||||||
|
|
||||||
import asyncio
|
|
||||||
from concurrent.futures import CancelledError
|
from concurrent.futures import CancelledError
|
||||||
|
|
||||||
# Analytics
|
# Analytics
|
||||||
@ -283,7 +282,7 @@ async def save_id():
|
|||||||
|
|
||||||
|
|
||||||
with bot:
|
with bot:
|
||||||
asyncio.ensure_future(save_id())
|
bot.loop.run_until_complete(save_id())
|
||||||
|
|
||||||
|
|
||||||
def before_send(event, hint):
|
def before_send(event, hint):
|
||||||
|
Loading…
Reference in New Issue
Block a user