Spaces:
Building
Building
Update petroll.py
Browse files- petroll.py +3 -3
petroll.py
CHANGED
@@ -255,7 +255,7 @@ async def schedule_next_luck_opportunity(interaction: discord.Interaction, user_
|
|
255 |
return
|
256 |
|
257 |
if user_id in used_luck_opportunities and len(used_luck_opportunities[user_id]) >= 4:
|
258 |
-
await interaction.response.send_message("You have already used all your luck", ephemeral=True)
|
259 |
return
|
260 |
|
261 |
current_luck = luck_multipliers.get(user_id, 1)
|
@@ -309,7 +309,7 @@ async def petroll(interaction: discord.Interaction):
|
|
309 |
if result:
|
310 |
await interaction.followup.send(embed=result[0], view=result[1])
|
311 |
else:
|
312 |
-
await interaction.followup.send("
|
313 |
|
314 |
@app_commands.command(name="balance", description="Check your current balance")
|
315 |
-
async def balance(interaction: discord.
|
|
|
255 |
return
|
256 |
|
257 |
if user_id in used_luck_opportunities and len(used_luck_opportunities[user_id]) >= 4:
|
258 |
+
await interaction.response.send_message("You have already used all your luck opportunities.", ephemeral=True)
|
259 |
return
|
260 |
|
261 |
current_luck = luck_multipliers.get(user_id, 1)
|
|
|
309 |
if result:
|
310 |
await interaction.followup.send(embed=result[0], view=result[1])
|
311 |
else:
|
312 |
+
await interaction.followup.send("An error occurred.")
|
313 |
|
314 |
@app_commands.command(name="balance", description="Check your current balance")
|
315 |
+
async def balance(interaction: discord.Interaction):
|