Spaces:
Building
Building
Update shop.py
Browse files
shop.py
CHANGED
@@ -16,8 +16,8 @@ async def shop(interaction: discord.Interaction, item: str = None):
|
|
16 |
embed.set_footer(text="Use /shop @everyone to purchase")
|
17 |
await interaction.response.send_message(embed=embed)
|
18 |
elif item.lower() == "@everyone":
|
19 |
-
if balance >=
|
20 |
-
user_cash[user_id] -=
|
21 |
await interaction.response.send_message("purchased @everyone ping will be sent in 2 seconds.")
|
22 |
await asyncio.sleep(2)
|
23 |
await interaction.channel.send("@everyone")
|
|
|
16 |
embed.set_footer(text="Use /shop @everyone to purchase")
|
17 |
await interaction.response.send_message(embed=embed)
|
18 |
elif item.lower() == "@everyone":
|
19 |
+
if balance >= 2:
|
20 |
+
user_cash[user_id] -= 2
|
21 |
await interaction.response.send_message("purchased @everyone ping will be sent in 2 seconds.")
|
22 |
await asyncio.sleep(2)
|
23 |
await interaction.channel.send("@everyone")
|