fix(aurora): added a debug logging statement
This commit is contained in:
parent
300d26dc7e
commit
8433c946fd
1 changed files with 2 additions and 0 deletions
|
@ -11,6 +11,7 @@ from redbot.core.bot import Red
|
||||||
from redbot.core.utils.chat_formatting import error
|
from redbot.core.utils.chat_formatting import error
|
||||||
|
|
||||||
from aurora.utilities.config import config
|
from aurora.utilities.config import config
|
||||||
|
from aurora.utilities.logger import logger
|
||||||
|
|
||||||
|
|
||||||
def check_permissions(
|
def check_permissions(
|
||||||
|
@ -134,6 +135,7 @@ def generate_dict(bot: Red, result: dict, guild_id: int) -> dict:
|
||||||
duration = None
|
duration = None
|
||||||
|
|
||||||
if result[14] is not None:
|
if result[14] is not None:
|
||||||
|
logger.debug(result[14])
|
||||||
changes = json.loads(result[14].replace('\\"', '"').replace('["{', '[{').replace('}"]', '}]'))
|
changes = json.loads(result[14].replace('\\"', '"').replace('["{', '[{').replace('}"]', '}]'))
|
||||||
change_obj_list = []
|
change_obj_list = []
|
||||||
for change in changes:
|
for change in changes:
|
||||||
|
|
Loading…
Reference in a new issue