summary refs log tree commit diff homepage
path: root/config.json
diff options
context:
space:
mode:
authordestruc7i0n <6181960+destruc7i0n@users.noreply.github.com>2018-11-11 15:56:49 -0500
committerGitHub <noreply@github.com>2018-11-11 15:56:49 -0500
commitb8781c45e095832e273248e73528328eaefe4138 (patch)
tree29b6e17e56059403410df4810917eb87b6008d19 /config.json
parentMerge pull request #29 from Arcensoth/master (diff)
parentLet's make this usable again! (diff)
downloadshulker-b8781c45e095832e273248e73528328eaefe4138.tar.gz
shulker-b8781c45e095832e273248e73528328eaefe4138.zip
Merge pull request #33 from destruc7i0n/webhooks
Webhooks!
Diffstat (limited to '')
-rw-r--r--config.json8
1 files changed, 5 insertions, 3 deletions
diff --git a/config.json b/config.json
index ddf8cd8..6f2dee1 100644
--- a/config.json
+++ b/config.json
@@ -1,9 +1,11 @@
 {
     "PORT": 8000,
+    "USE_WEBHOOKS": true,
+    "WEBHOOK_URL": "DISCORD_WEBHOOK_URL_HERE",
     "DISCORD_TOKEN": "TOKEN_HERE",
-    "DISCORD_CHANNEL_ID": "general",
-    "DISCORD_MESSAGE_TEMPLATE": "`%username%`:%message%",
-    "MINECRAFT_SERVER_RCON_IP": "example.com",
+    "DISCORD_CHANNEL_ID": "1234",
+    "DISCORD_MESSAGE_TEMPLATE": "`%username%`: %message%",
+    "MINECRAFT_SERVER_RCON_IP": "127.0.0.1",
     "MINECRAFT_SERVER_RCON_PORT": 25575,
     "MINECRAFT_SERVER_RCON_PASSWORD": "password",
     "MINECRAFT_TELLRAW_TEMPLATE": "[{\"color\": \"white\", \"text\": \"<%username%> %message%\"}]",