mirror of
https://github.com/A-Minos/nonebot-plugin-tetris-stats.git
synced 2026-03-05 05:36:54 +08:00
🔥 删除不必要的类型转换
上游修了hhh
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
from arclet.alconna import Arg
|
||||
from nepattern import parser # type: ignore[import-untyped]
|
||||
from nonebot_plugin_alconna import Option, Subcommand
|
||||
from nonebot_plugin_alconna.uniseg import UniMessage
|
||||
from nonebot_plugin_orm import async_scoped_session
|
||||
@@ -19,7 +18,7 @@ command.add(
|
||||
'config',
|
||||
Option(
|
||||
'--default-template',
|
||||
Arg('template', parser(Template), notice='模板版本'),
|
||||
Arg('template', Template, notice='模板版本'),
|
||||
alias=['-DT', 'DefaultTemplate'],
|
||||
help_text='设置默认查询模板',
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user