diff options
author | suhas <hi@suhas.one> | 2023-11-16 23:31:18 -0600 |
---|---|---|
committer | suhas <hi@suhas.one> | 2023-11-16 23:31:18 -0600 |
commit | f2df3f66b3d64b7bedb1c44d9f074087db4b7bde (patch) | |
tree | 812ee416bd7a5d83314ad5f68d58499ce77db1f8 | |
parent | a3e3ecebe52a85b2f667b1d05de9b4d5ce23439e (diff) | |
download | qbb-f2df3f66b3d64b7bedb1c44d9f074087db4b7bde.tar.gz |
remove the answer and add back in categories
-rw-r--r-- | cogs/tossup.py | 7 |
1 files 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() |