From f2df3f66b3d64b7bedb1c44d9f074087db4b7bde Mon Sep 17 00:00:00 2001 From: suhas Date: Thu, 16 Nov 2023 23:31:18 -0600 Subject: remove the answer and add back in categories --- cogs/tossup.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cogs/tossup.py b/cogs/tossup.py index 3b62724..178ba03 100644 --- a/cogs/tossup.py +++ b/cogs/tossup.py @@ -28,10 +28,9 @@ class Tossup(Cog): view: TossupButtons = TossupButtons(tossup) embed = Embed(title="Random Tossup", description=tossup["sentences"][0]) - # embed.set_author( - # name=f"{tossup['set']['name']} Packet {tossup['packetNumber']} Question {tossup['questionNumber']} (Category: {tossup['category']})" - # ) - embed.set_author(name=tossup['answer']) + embed.set_author( + name=f"{tossup['set']['name']} Packet {tossup['packetNumber']} Question {tossup['questionNumber']} (Category: {tossup['category']})" + ) embed.set_footer(text="Questions obtained from qbreader.org") await ctx.response.send_message(embed=embed, view=view) await c.aclose() -- cgit 1.4.1-2-gfad0