We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如题,配置了
COMMAND_START=["/", "#"] ALCONNA_USE_COMMAND_START=True
这两行后,天气、/天气、北京天气、/北京天气 均无法匹配。注释掉ALCONNA_USE_COMMAND_START=True后正常。 试了下,可以添加use_cmd_start=False来绕过配置项。其实涉及的情况应该很少见,我这个配置项还是来自另一个插件早期刚迁移为alconna后添加的,后来该插件其实也不需要这个配置项了。但感觉还是可以考虑一下是否能支持一下这个配置项。
天气
/天气
北京天气
/北京天气
ALCONNA_USE_COMMAND_START=True
use_cmd_start=False
weather = on_alconna(Alconna("天气", Args["city", str]), block=True, priority=1, use_cmd_start=False)
nonebot-plugin-heweather/nonebot_plugin_heweather/__init__.py
Line 30 in 3cb6863
The text was updated successfully, but these errors were encountered:
No branches or pull requests
如题,配置了
这两行后,
天气
、/天气
、北京天气
、/北京天气
均无法匹配。注释掉ALCONNA_USE_COMMAND_START=True
后正常。试了下,可以添加
use_cmd_start=False
来绕过配置项。其实涉及的情况应该很少见,我这个配置项还是来自另一个插件早期刚迁移为alconna后添加的,后来该插件其实也不需要这个配置项了。但感觉还是可以考虑一下是否能支持一下这个配置项。nonebot-plugin-heweather/nonebot_plugin_heweather/__init__.py
Line 30 in 3cb6863
The text was updated successfully, but these errors were encountered: