Skip to content

Commit

Permalink
Update EmbedBuilder.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bugsbirb committed Feb 6, 2025
1 parent 9bce7e3 commit 327a37b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cogs/Configuration/Components/EmbedBuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ async def callback(self, interaction: discord.Interaction):
emoji = discord.PartialEmoji(name=emoji)
except discord.DiscordException:
emoji = None

if emoji:
emoji = component.get("emoji")
button = Button(
label=component.get("label"),
style=discord.ButtonStyle.blurple,
Expand Down

0 comments on commit 327a37b

Please sign in to comment.