From a3b1951f4c90909a98628fe9b95a07f7701280cb Mon Sep 17 00:00:00 2001 From: Kamal Curi Date: Wed, 19 Jul 2023 15:39:37 -0300 Subject: [PATCH] ADD: authors list in '--dbg' --- utils/commands.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/utils/commands.py b/utils/commands.py index 67cf0ba..1fe48e2 100644 --- a/utils/commands.py +++ b/utils/commands.py @@ -31,6 +31,7 @@ with open(QUOTE_STACK, mode='r') as f: quote_content = {} last_quote = 0 + @client.event async def on_message(message): content = str(message.content) @@ -488,7 +489,8 @@ async def neeble_debug(bot:object) -> str: qt_count = count_quotes() st_size = len(quote_id_stack) - return await bot.send(f"```\nqt_count:{qt_count}\nst_size:{st_size}\nst_limit:{stack_limit}\nlst_qt:{last_quote}\n```") + ct_authors = str(quote_content.keys()) + return await bot.send(f"```\nqt_count:{qt_count}\nst_size:{st_size}\nst_limit:{stack_limit}\nlst_qt:{last_quote}\nct_authors:{ct_authors}\n```") @client.command(aliases=['dr', 'droll']) async def dice_roll(bot:object, size:int=6) -> str: