forgot to await garfbot
This commit is contained in:
parent
4ef6ed8be5
commit
de27f5bb62
@ -421,7 +421,7 @@ async def on_error(event, *args, **kwargs):
|
||||
async def garfbot_connect():
|
||||
while True:
|
||||
try:
|
||||
garfbot.start(garfkey)
|
||||
await garfbot.start(garfkey)
|
||||
except Exception as e:
|
||||
e = str(e)
|
||||
logger.error(f"Garfbot couldn't connect! {e}")
|
||||
|
Loading…
Reference in New Issue
Block a user