Just trying different things

pull/8/head
sgoudham 4 years ago
parent c2d61d1185
commit 23144ec0b1

@ -128,6 +128,9 @@ class Bot(commands.Bot):
except asyncpg.PostgresError as e:
print("PostGres Error: Modmail Records Could Not Be Loaded Into Cache On Startup", e)
# Release connection back to pool
await pool.release(conn)
# Establish Database Connection
self.loop.run_until_complete(create_connection())
# Load Information Into Cache

Loading…
Cancel
Save