diff options
author | 2021-09-24 23:00:40 -0400 | |
---|---|---|
committer | 2021-09-24 23:00:40 -0400 | |
commit | baa4d252b72de1e25bceb15721b475ee9724d47b (patch) | |
tree | 1b17cafecdd391cfcf6f0eb5bd4b33be1d534dc5 | |
parent | Remove display_claimed_answer (diff) |
Don't change board embed color
Can't edit that embed
-rw-r--r-- | bot/exts/fun/duck_game.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bot/exts/fun/duck_game.py b/bot/exts/fun/duck_game.py index 8b5338f4..f97c712d 100644 --- a/bot/exts/fun/duck_game.py +++ b/bot/exts/fun/duck_game.py @@ -304,13 +304,6 @@ class DuckGamesDirector(commands.Cog): scoreboard_embed.description = scoreboard await channel.send(embed=scoreboard_embed) - board_embed, = game.board_msg.embeds - embed_as_dict = board_embed.to_dict() # Cannot set embed color after initialization - embed_as_dict["color"] = discord.Color.red().value - board_embed = discord.Embed.from_dict(embed_as_dict) - await self.edit_embed_with_image(game.board_msg, board_embed) - - found_embed, = game.found_msg.embeds missed = [ans for ans in game.solutions if ans not in game.claimed_answers] if missed: missed_text = "Flights everyone missed:\n" + "\n".join(f"{ans}" for ans in missed) |