• 欢迎来到小可 · Wiki,人人可编辑的,多平台聊天机器人“小可”的官方文档资源。
  • 小可很可爱,请给我们打钱
  • 原 MkDocs 已迁入本站。若发现 404 属正常现象,请点击左上角搜索您想要的模块。

module:修订间差异

来自小可 · Wiki,人人可编辑的,QQ机器人“小可”的官方文档资源
([InPageEdit] 没有编辑摘要)
第6行: 第6行:
'''<code>module</code>''' 模块是小可最基础的模块。此模块可以让你启用或禁用模块。
'''<code>module</code>''' 模块是小可最基础的模块。此模块可以让你启用或禁用模块。


== <code>module</code> ==
== <code>module enable</code> ==
{{Instructors|
{{Instructors|
* {{Instructor permission}}
* {{Instructor permission|admin}}
* {{Instructor forced}}
* {{Instructor forced}}
* {{Instructor alias|enable}}
}}
使用此命令以开启模块。
用法:<code>~module enable <模块名|all></code>
== <code>module disable</code> ==
{{Instructors|
* {{Instructor permission|admin}}
* {{Instructor forced}}
* {{Instructor alias|disable}}
}}
}}


 使用此命令以开关模块。
 使用此命令以开关模块。


 用法:<code>~module <enable/disable> <模块名|all></code>
 用法:<code>~module disable <模块名|all></code>


== <code>enable</code> / <code>disable</code> ==
== <code>module list</code> ==
{{Instructors|
{{Instructors|
* {{Instructor permission|admin}}
* {{Instructor permission|}}
* {{Instructor forced}}
* {{Instructor forced}}
* {{Instructor alias|modules}}
}}
}}
{{Mbox deprecated|请 使用<code>[[#module|module]]</code> 。}}
 
使用 此命令以列出机器人的所有模块。
 
用法:<code>~module list</code>


{{Navbox modules|核心}}
{{Navbox modules|核心}}

2022年6月19日 (日) 11:25的版本

  •  强制开启

module 模块是小可最基础的模块。此模块可以让你启用或禁用模块。

module enable

使用此命令以开启模块。

用法:~module enable <模块名|all>

module disable

使用此命令以开关模块。

用法:~module disable <模块名|all>

module list

使用此命令以列出机器人的所有模块。

用法:~module list

Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。