forgot to await garfbot

This commit is contained in:
crate 2024-10-02 02:33:03 +00:00
parent 4ef6ed8be5
commit de27f5bb62

View File

@ -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}")