diff --git a/bot/helper/ext_utils/database.py b/bot/helper/ext_utils/database.py index 7e761ed6..013bec4c 100644 --- a/bot/helper/ext_utils/database.py +++ b/bot/helper/ext_utils/database.py @@ -1,4 +1,5 @@ from pymongo import MongoClient +from pymongo.errors import PyMongoError from bot import LOGGER, AUTHORIZED_USERS, DATABASE_URL