Archived
1
0
Fork 0
This commit is contained in:
多羅狼 2023-07-12 01:12:00 +08:00 committed by GitHub
parent fc7b84ede8
commit 4d0f1a1fcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,4 +40,4 @@ async def _(message: Bot.MessageSession):
groups = message.matched_msg.groups()
diceType = groups[1][:-1] if groups[1] else '6'
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))