diff options
-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() |