aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSin-MacBook <[email protected]>2020-08-14 19:21:36 +0200
committerSin-MacBook <[email protected]>2020-08-14 19:21:36 +0200
commitaf2707e9ad03ca9d55f01a878f5a971053e7a2ab (patch)
treed64fc134f4e58b969187fe1114cbeecc9991e325
parentenhance: use plugin system and switch to json config (diff)
downloadmodmail-af2707e9ad03ca9d55f01a878f5a971053e7a2ab.tar.xz
modmail-af2707e9ad03ca9d55f01a878f5a971053e7a2ab.zip
enhancement: update cfg
-rw-r--r--.gitignore2
-rw-r--r--config.ini.example16
-rw-r--r--config.json18
-rw-r--r--db/data.sqlitebin98304 -> 98304 bytes
4 files changed, 34 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 6757ecf..1b706b4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,5 @@
/.vscode
/.idea
/node_modules
-/config.*
-!/config.example.ini
/welcome.png
/update.sh
diff --git a/config.ini.example b/config.ini.example
new file mode 100644
index 0000000..6afb50d
--- /dev/null
+++ b/config.ini.example
@@ -0,0 +1,16 @@
+# Required settings
+# -----------------
+token = "NzQyNDc3Mzg0NjExMjY2NjQx.XzGr8w.Ikzvtumibm0QE4V3LBtehXy_WfM"
+mainGuildId = "704032355987488791"
+mailGuildId = "704032355987488791"
+logChannelId = "742479301055610969"
+
+# Add new options below this line:
+# ----------------------------------
+ignoreAccidentalThreads = 1
+prefix = "mm!"
+typingProxy = 1
+url = "http://localhost:8089"
+snippetPrefix = "mm!!"
+snippetPrefixAnon = "mm!!!"
+plugins = "" \ No newline at end of file
diff --git a/config.json b/config.json
new file mode 100644
index 0000000..9b42860
--- /dev/null
+++ b/config.json
@@ -0,0 +1,18 @@
+{
+ "token": "NzQyNDc3Mzg0NjExMjY2NjQx.XzGr8w.Ikzvtumibm0QE4V3LBtehXy_WfM",
+ "mainGuildId": "704032355987488791",
+ "mailGuildId": "704032355987488791",
+ "logChannelId": "742479301055610969",
+
+ "ignoreAccidentalThreads": true,
+ "prefix": "mm!",
+ "typingProxy": true,
+ "typingProxyReverse": true,
+ "url": "http://localhost:8089",
+ "snippetPrefix": "mm!!",
+ "snippetPrefixAnon": "mm!!!",
+ "plugins": [
+ "plugins/help.js"
+ ],
+ "categoryAutomation.newThread": "704032357640044555"
+} \ No newline at end of file
diff --git a/db/data.sqlite b/db/data.sqlite
index 8023239..65f1c2e 100644
--- a/db/data.sqlite
+++ b/db/data.sqlite
Binary files differ