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

Loading…
Cancel
Save