Skip to content

Commit

Permalink
clean code
Browse files Browse the repository at this point in the history
  • Loading branch information
MegumiKatou02 committed Nov 24, 2024
1 parent 68f974b commit 51fc9a6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Anime.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ async def anime_command(interaction: discord.Interaction, anime_name: str):
embed.set_image(url=image_url)
await interaction.response.send_message(embed=embed)
else:
await interaction.response.send_message("Không tìm thấy hình ảnh anime với tên này.", ephemeral=True)
await interaction.response.send_message("Không tìm thấy hình ảnh anime với tên này", ephemeral=True)
2 changes: 1 addition & 1 deletion game.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

async def roll(interaction: discord.Interaction, min_value: int = 0, max_value: int = 1000):
if min_value > max_value:
await interaction.response.send_message('Số nhỏ hơn phải đứng trước số lớn hơn.', ephemeral = True)
await interaction.response.send_message('Nhập sai thứ tự', ephemeral = True)
return

if max_value > 100000:
Expand Down

0 comments on commit 51fc9a6

Please sign in to comment.