ADD: Respin after five shots in --roulette

ipm
Kamal Curi 2 years ago
parent c62155b8eb
commit 239b03e486

@ -5,7 +5,7 @@
█ ▄ █ ▄▄▄█ ▄▄▄█ ▄ ██ █▄▄▄█ ▄▄▄█
█ █ █ █ █▄▄▄█ █▄▄▄█ █▄█ █ █ █▄▄▄
█▄█ █▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█▄▄▄▄▄▄▄█
Neeble version: 2023.09.26
Neeble version: 2023.10.05
Help with the development of neeble-bot in
https://brejela.club/gitea/neeble-club/neeble
Thank you!

@ -579,6 +579,16 @@ async def roulette(bot:object) -> str:
comlock['roulette'] = False
return 0
else:
if chamber == 4:
chamber = -1
drum = []
drum.extend(['click']*6)
spin = randrange(0, 6)
drum[spin] = 'bang'
comlock['roulette'] = False
await bot.send("Click!")
return await bot.send("FIFTH SHOT! Re-spinning the drum...")
await bot.send("Click!")
comlock['roulette'] = False
return 0

Loading…
Cancel
Save