[BUG] : `psycopg2` is not async
Closed this issue · 1 comments
code-chaser commented
PROBLEM :
discord.py
is an asynchronous library whereaspsycopg2
(used here for SQL database integration) is synchronous.- A synchronous library should never be used with an async library for obvious reasons.
POSSIBLE WORKAROUND :
- Use
ayncpg
:- async library for interacting with postgreSQL databases.
code-chaser commented
- Fixed in #24