Skip to content

Commit

Permalink
Add feedback link to embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherJHart committed Mar 29, 2022
1 parent 240aef3 commit 387c5e1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bot/embeds/trivia.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ def trivia_ok_multiple_choice_question(
@command_ok(title="__Trivia Answer Correct__")
def trivia_ok_correct(embed: Embed, explanation: Optional[str] = None) -> Embed:
"""Embed for when answer to trivia question is correct."""
embed.description = (
"*Problem with this question? "
"[Report it here!](https://github.com/ChristopherJHart/discord-it-trivia/issues)*"
)
embed.add_field(
name="Response",
value="Your answer to the trivia question was correct!",
Expand All @@ -54,6 +58,10 @@ def trivia_ok_incorrect(
embed: Embed, correct_answer: str, explanation: Optional[str] = None
) -> Embed:
"""Embed for when answer to trivia question is incorrect."""
embed.description = (
"*Problem with this question? "
"[Report it here!](https://github.com/ChristopherJHart/discord-it-trivia/issues)*"
)
embed.add_field(
name="Response",
value="Your answer to the trivia question was incorrect.",
Expand Down

0 comments on commit 387c5e1

Please sign in to comment.