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