ADD: authors list in '--dbg'

pull/3/head
Kamal Curi 2 years ago
parent 6f0bbb2ade
commit a3b1951f4c

@ -31,6 +31,7 @@ with open(QUOTE_STACK, mode='r') as f:
quote_content = {} quote_content = {}
last_quote = 0 last_quote = 0
@client.event @client.event
async def on_message(message): async def on_message(message):
content = str(message.content) content = str(message.content)
@ -488,7 +489,8 @@ async def neeble_debug(bot:object) -> str:
qt_count = count_quotes() qt_count = count_quotes()
st_size = len(quote_id_stack) 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']) @client.command(aliases=['dr', 'droll'])
async def dice_roll(bot:object, size:int=6) -> str: async def dice_roll(bot:object, size:int=6) -> str:

Loading…
Cancel
Save