From 42a227bf1f663075f551ced5199d198bb573b37f Mon Sep 17 00:00:00 2001 From: "kevin.caires" Date: Wed, 17 Aug 2022 12:59:56 -0300 Subject: [PATCH] FIX qstack command --- utils/commands.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/utils/commands.py b/utils/commands.py index fd672f3..4816029 100644 --- a/utils/commands.py +++ b/utils/commands.py @@ -67,10 +67,6 @@ async def queue_stack(bot: object) -> str: """ Displays the 5 quote history stack """ - id_stack = "" - for qid in quote_id_stack: - id_stack = id_stack + qid - - rmessage = "A list of the 5 latest message IDs follows: " + id_stack - - return await bot.send(rmessage) + return await bot.send( + f'A list of the 5 latest message IDs follows: `{",".join(str(q) for q in quote_id_stack)}`' + )