Skip to content

Commit

Permalink
進数変換コマンド実装v6
Browse files Browse the repository at this point in the history
  • Loading branch information
Syunngiku0402 committed Nov 18, 2024
1 parent 28be522 commit 96adfe6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cogs/cradix.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,22 @@ async def cradix(self, interaction: discord.Interaction, num: int, mode: Optiona
description=DESCRIPTION1,
color=0x58619A
)
radix_embed1.set_footer(text=f"Send by {interaction.user.mention}")

radix_embed2 = discord.Embed(
title="進数変換",
description=DESCRIPTION2,
color=0x58619A
)
radix_embed2.set_footer(text=f"Send by {interaction.user.mention}")

radix_embed3 = discord.Embed(
title="進数変換",
description=DESCRIPTION3,
color=0x58619A
)
radix_embed3.set_footer(text=f"Send by {interaction.user.mention}")

if mode == "cradix2":
await interaction.response.send_message(embed=radix_embed2)
elif mode == "cradix3":
Expand Down

0 comments on commit 96adfe6

Please sign in to comment.