From 5495aa213e42ca8032be34a1779cc027659fc701 Mon Sep 17 00:00:00 2001 From: "Dusty.P" Date: Fri, 20 Apr 2018 21:06:01 -0800 Subject: [PATCH] Switching to asyncpg --- geeksbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geeksbot.py b/geeksbot.py index c895dd5..ab58c59 100644 --- a/geeksbot.py +++ b/geeksbot.py @@ -144,7 +144,7 @@ async def on_message(ctx): @bot.event async def on_ready(): - bot.connect_db() + await bot.connect_db() bot.recent_msgs = {} for guild in bot.guilds: bot.recent_msgs[guild.id] = deque(maxlen=50)