aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/example/config.toml
diff options
context:
space:
mode:
Diffstat (limited to 'example/config.toml')
-rw-r--r--example/config.toml25
1 files changed, 25 insertions, 0 deletions
diff --git a/example/config.toml b/example/config.toml
new file mode 100644
index 0000000..19e1e5f
--- /dev/null
+++ b/example/config.toml
@@ -0,0 +1,25 @@
+[bot]
+plugins = []
+plugin_dirs = ["plugins"]
+rules = []
+rule_dirs = ["rules"]
+adapters = ["iamai.adapter.cqhttp","iamai.adapter.apscheduler"]
+
+[bot.log]
+level = "INFO"
+verbose_exception = true
+
+[adapter.cqhttp]
+adapter_type = "reverse-ws"
+host = "127.0.0.1"
+port = 8080
+url = "/cqhttp/ws"
+show_raw = false
+
+[adapter.apscheduler]
+scheduler_config = { "apscheduler.timezone" = "Asia/Shanghai" }
+
+[plugin.HydroRoll]
+uid = ''
+rules = []
+rule_dirs = ["rules"] \ No newline at end of file