Browse Source

Fixed the trivia question footer so it keeps the difficulty and category after answering.

tags/v1.4.1
Roxie Gibson 6 years ago
parent
commit
e7f78db144
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      cogs/trivia.py

+ 2
- 1
cogs/trivia.py View File

@@ -152,7 +152,8 @@ class Trivia:
await message.edit(embed=output)
await asyncio.sleep(1)

output.set_footer(text="")
footer = output.footer.text.split("|")
output.set_footer(text="{}|{}| Time Left: Answered".format(footer[0], footer[1]))
await message.edit(embed=output)

# Clean up when answers have been submitted

Loading…
Cancel
Save