diff options
| author | Sin-MacBook <[email protected]> | 2020-08-14 19:21:36 +0200 |
|---|---|---|
| committer | Sin-MacBook <[email protected]> | 2020-08-14 19:21:36 +0200 |
| commit | af2707e9ad03ca9d55f01a878f5a971053e7a2ab (patch) | |
| tree | d64fc134f4e58b969187fe1114cbeecc9991e325 | |
| parent | enhance: use plugin system and switch to json config (diff) | |
| download | modmail-af2707e9ad03ca9d55f01a878f5a971053e7a2ab.tar.xz modmail-af2707e9ad03ca9d55f01a878f5a971053e7a2ab.zip | |
enhancement: update cfg
| -rw-r--r-- | .gitignore | 2 | ||||
| -rw-r--r-- | config.ini.example | 16 | ||||
| -rw-r--r-- | config.json | 18 | ||||
| -rw-r--r-- | db/data.sqlite | bin | 98304 -> 98304 bytes |
4 files changed, 34 insertions, 2 deletions
@@ -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 Binary files differindex 8023239..65f1c2e 100644 --- a/db/data.sqlite +++ b/db/data.sqlite |