摇骰子

This commit is contained in:
2025-09-29 00:00:48 +08:00
parent 4a26177ab9
commit a97bf7d55c
2 changed files with 58 additions and 0 deletions

View File

@ -0,0 +1,12 @@
from nonebot_plugin_alconna import Alconna, Args, Field, UniMessage, on_alconna
from konabot.plugins.roll_dice.roll_dice import roll_dice
from konabot.plugins.weather.fetcher import fetch_radar
evt = on_alconna(Alconna(
"摇骰子"
), use_cmd_start=True, use_cmd_sep=False, skip_for_unmatch=True)
@evt.handle()
async def _():
await evt.send(await UniMessage().text(await roll_dice()).export())