Replies: 1 comment
-
|
你应该是安装了新版 nonebot2,但是看的是旧版文档 在新版本中, 你可以使用 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
例如输入 /天气 上海
根据教程
args = str(event.get_message()).strip() # 首次发送命令时跟随的参数,例:/天气 上海,则args为上海则此时args应为上海
但在我这里args则为
也就是把命令也给带上了
不知道改如何解决
以下为代码
Beta Was this translation helpful? Give feedback.
All reactions