From b1d1e919e5896f06d2353b7553bdc0537b40a589 Mon Sep 17 00:00:00 2001 From: Cal Corum Date: Fri, 31 Mar 2023 13:02:28 -0500 Subject: [PATCH] Update gauntlets.py --- gauntlets.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gauntlets.py b/gauntlets.py index ca89d43..c4285a9 100644 --- a/gauntlets.py +++ b/gauntlets.py @@ -208,6 +208,12 @@ async def run_draft(interaction: discord.Interaction, main_team, this_event, dra await interaction.edit_original_response(content=None, embed=intro_embed, view=None) await interaction.channel.send('You\'ll be back') raise ZeroDivisionError() + else: + await interaction.edit_original_response( + content=None, + embed=intro_embed, + view=None + ) def get_embeds(include_links=True): top_embed = helpers.get_team_embed(f'{embed_title} - Round {round_num}') @@ -434,7 +440,7 @@ async def run_draft(interaction: discord.Interaction, main_team, this_event, dra final_embed = get_embeds(False)[0] final_embed.title = f'{main_team["lname"]} - {this_event["name"]} Draft' if main_team['logo']: - final_embed.set_thumbnail(main_team["logo"]) + final_embed.set_thumbnail(url=main_team["logo"]) return final_embed