aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/bot.conf.example12
-rw-r--r--docs/help/config.md2
2 files changed, 13 insertions, 1 deletions
diff --git a/docs/bot.conf.example b/docs/bot.conf.example
index f22d4fc4..6c7808dc 100644
--- a/docs/bot.conf.example
+++ b/docs/bot.conf.example
@@ -2,6 +2,18 @@
# will be disabled.
[bot]
+
+# configuration related to where/how bitbot accesses files and databases.
+# commented out values are the default values. {DATA} is replaced with data-directory
+
+#data-directory = ~/.bitbot
+#log-directory = /var/log/bitbot/
+#lock-file = {DATA}/bot.lock
+#sock-file = {DATA}/bot.sock
+
+# database - currently only supports sqlite3
+#database = sqlite3:{DATA}/bot.db
+
# client-side tls key/cert for IRC connections
tls-key =
tls-certificate =
diff --git a/docs/help/config.md b/docs/help/config.md
index 94305ce9..e11d14ec 100644
--- a/docs/help/config.md
+++ b/docs/help/config.md
@@ -8,7 +8,7 @@
* `/msg <bot> register <password here>` to register your nickname with the bot
* (use `/msg <bot> identify <password>` to log in in the future)
* `/msg <bot> masterlogin <master admin password>` to login as master admin
-* `/msg <bot> givepermission <your nickname> *` to give your account admin permissions
+* `/msg <bot> permission add <your nickname> *` to give your account admin permissions
### Configure client TLS certificate