Update __init__.py
This commit is contained in:
parent
ffc85ffef1
commit
23155eed2f
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ async def _(msg: Bot.MessageSession):
|
|||
except ValueError:
|
||||
return await msg.finish(msg.locale.t('random.message.number.error'))
|
||||
random = secrets.randbelow(_max - _min + 1) + _min
|
||||
await msg.finish(random)
|
||||
await msg.finish('' + str(random))
|
||||
|
||||
|
||||
@r.handle('choice ... {{random.help.choice}}', )
|
||||
|
|
Reference in a new issue