coollsd commited on
Commit
c9b4f8f
·
verified ·
1 Parent(s): 51982ec

Update petsimgo.py

Browse files
Files changed (1) hide show
  1. petsimgo.py +4 -4
petsimgo.py CHANGED
@@ -85,7 +85,7 @@ async def perform_roll(interaction: discord.Interaction):
85
  if result:
86
  await interaction.followup.send(embed=result[0], view=result[1])
87
  else:
88
- await interaction.followup.send("An error occurred.")
89
 
90
  roll_again_button.callback = roll_again_callback
91
 
@@ -117,11 +117,11 @@ async def perform_roll(interaction: discord.Interaction):
117
 
118
  async def increase_luck_callback(interaction: discord.Interaction):
119
  if interaction.user.id != user_id:
120
- await interaction.response.send_message("You cannot use this button.", ephemeral=True)
121
  return
122
 
123
  if user_id in used_luck_opportunities:
124
- await interaction.response.send_message("You have already used your luck opportunity.", ephemeral=True)
125
  return
126
 
127
  current_luck = luck_multipliers.get(user_id, 1)
@@ -151,7 +151,7 @@ async def petroll(interaction: discord.Interaction):
151
  if result:
152
  await interaction.followup.send(embed=result[0], view=result[1])
153
  else:
154
- await interaction.followup.send("An error occurred.")
155
 
156
  @app_commands.command(name="balance", description="Check your current balance")
157
  async def balance(interaction: discord.Interaction):
 
85
  if result:
86
  await interaction.followup.send(embed=result[0], view=result[1])
87
  else:
88
+ await interaction.followup.send("errer")
89
 
90
  roll_again_button.callback = roll_again_callback
91
 
 
117
 
118
  async def increase_luck_callback(interaction: discord.Interaction):
119
  if interaction.user.id != user_id:
120
+ await interaction.response.send_message("You cannot use this button", ephemeral=True)
121
  return
122
 
123
  if user_id in used_luck_opportunities:
124
+ await interaction.response.send_message("You have already used your luck", ephemeral=True)
125
  return
126
 
127
  current_luck = luck_multipliers.get(user_id, 1)
 
151
  if result:
152
  await interaction.followup.send(embed=result[0], view=result[1])
153
  else:
154
+ await interaction.followup.send("errer")
155
 
156
  @app_commands.command(name="balance", description="Check your current balance")
157
  async def balance(interaction: discord.Interaction):