Spaces:
Building
Building
Update petroll.py
Browse files- petroll.py +2 -2
petroll.py
CHANGED
@@ -121,7 +121,7 @@ async def perform_roll(interaction: discord.Interaction):
|
|
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,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("
|
155 |
|
156 |
@app_commands.command(name="balance", description="Check your current balance")
|
157 |
async def balance(interaction: discord.Interaction):
|
|
|
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 |
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):
|