diff options
| -rw-r--r-- | README.md | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -120,18 +120,3 @@ if __name__ == "__main__": ## 命令列表
> 还在为繁琐命令感到烦恼?使用简系,小学生都能记住的固定词组!
-
-### get
-
-**class `get`(self, *, config_file = 'config.toml', config_dict = None, hot_reload = False)**
-Bases: `object`
-
-读取并储存配置 `Config`,加载适配器 `Adapter` 和插件 `Plugin`,并进行事件分发。
-
-Arguments
-
-config_file (Optional[str]) - 配置文件,如不指定则使用默认的 config.toml。 若指定为 None,则不加载配置文件。
-
-config_dict (Optional[Dict]) - 配置字典,默认为 None。 若指定字典,则会忽略 config_file 配置,不再读取配置文件。
-
-hot_reload (bool) - 热重载。 启用后将自动检查 plugin_dir 中的插件文件更新,并在更新时自动重新加载。
\ No newline at end of file |
