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():
|
async def garfbot_connect():
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
garfbot.start(garfkey)
|
await garfbot.start(garfkey)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
e = str(e)
|
e = str(e)
|
||||||
logger.error(f"Garfbot couldn't connect! {e}")
|
logger.error(f"Garfbot couldn't connect! {e}")
|
||||||
|
Loading…
Reference in New Issue
Block a user