fix
This commit is contained in:
parent
fc7b84ede8
commit
4d0f1a1fcd
1 changed files with 1 additions and 1 deletions
|
@ -40,4 +40,4 @@ async def _(message: Bot.MessageSession):
|
||||||
groups = message.matched_msg.groups()
|
groups = message.matched_msg.groups()
|
||||||
diceType = groups[1][:-1] if groups[1] else '6'
|
diceType = groups[1][:-1] if groups[1] else '6'
|
||||||
rollTime = groups[2][:-1] if groups[2] else '1'
|
rollTime = groups[2][:-1] if groups[2] else '1'
|
||||||
await message.finish(await GenerateMessage(message, f'{groups[0]}D{diceType}', rollTime, 0))
|
await message.finish(await GenerateMessage(message, f'{groups[0]}D{diceType}', int(rollTime), 0))
|
||||||
|
|
Reference in a new issue