mirror of
https://github.com/Lilac-Rose/Lacie.git
synced 2026-10-01 12:46:39 -05:00
Fixed coin flip
This commit is contained in:
@@ -10,7 +10,7 @@ class Coinflip(commands.Cog):
|
||||
@app_commands.command(name="coinflip")
|
||||
async def coinflip(self, interaction: discord.Interaction):
|
||||
|
||||
coin = random.randrange(0,1)
|
||||
coin = random.randrange(0,2)
|
||||
if coin == 1:
|
||||
await interaction.response.send_message("Heads!")
|
||||
elif coin == 0:
|
||||
|
||||
Reference in New Issue
Block a user