mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
feat: 完善命令文档
This commit is contained in:
@@ -12,7 +12,7 @@ import pkg.utils.updater as updater
|
|||||||
description="插件管理",
|
description="插件管理",
|
||||||
usage="!plugin\n!plugin get <插件仓库地址>\n!plugin update\n!plugin del <插件名>\n!plugin on <插件名>\n!plugin off <插件名>",
|
usage="!plugin\n!plugin get <插件仓库地址>\n!plugin update\n!plugin del <插件名>\n!plugin on <插件名>\n!plugin off <插件名>",
|
||||||
aliases=[],
|
aliases=[],
|
||||||
privilege=2
|
privilege=1
|
||||||
)
|
)
|
||||||
class PluginCommand(AbstractCommandNode):
|
class PluginCommand(AbstractCommandNode):
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|||||||
@@ -24,4 +24,4 @@ class ContinueCommand(AbstractCommandNode):
|
|||||||
|
|
||||||
reply = [text]
|
reply = [text]
|
||||||
|
|
||||||
return True, reply
|
return True, reply
|
||||||
|
|||||||
@@ -180,6 +180,7 @@
|
|||||||
!draw <提示语> 进行绘图
|
!draw <提示语> 进行绘图
|
||||||
!version 查看当前版本并检查更新
|
!version 查看当前版本并检查更新
|
||||||
!resend 重新回复上一个问题
|
!resend 重新回复上一个问题
|
||||||
|
!continue 继续响应未完成的回合(通常用于内容函数继续调用)
|
||||||
!plugin 用法请查看插件使用页的`管理`章节
|
!plugin 用法请查看插件使用页的`管理`章节
|
||||||
!default 查看可用的情景预设值
|
!default 查看可用的情景预设值
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user