FIX: Bullet will now go to 6th chamber

ipm
Kamal Curi 2 years ago
parent b37b310439
commit cccfc84f4a

@ -581,7 +581,7 @@ async def roulette(bot:object) -> str:
if not drum:
await bot.send("Inserting a bullet and spinning the drum...")
drum.extend(['click']*6)
spin = randrange(0, 5)
spin = randrange(0, 6)
drum[spin] = 'bang'
chamber+=1
@ -591,4 +591,4 @@ async def roulette(bot:object) -> str:
drum = []
return await bot.send(f"BANG! {bot.author.name} died.")
else:
return await bot.send("Click!")
return await bot.send("Click!")

Loading…
Cancel
Save