mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2025-07-27 14:30:54 +00:00
fix: alconna
响应器命令头别名配置错误的问题
This commit is contained in:
@ -9,8 +9,9 @@ from .game import Minesweeper
|
||||
from nonebot_plugin_alconna import Alconna, on_alconna, Subcommand, Args, Arparma
|
||||
|
||||
minesweeper = on_alconna(
|
||||
Alconna(
|
||||
["minesweeper", "扫雷"],
|
||||
aliases={"扫雷"},
|
||||
command=Alconna(
|
||||
"minesweeper",
|
||||
Subcommand(
|
||||
"start",
|
||||
Args["row", int, 8]["col", int, 8]["mines", int, 10],
|
||||
|
Reference in New Issue
Block a user