summary refs log tree commit diff homepage
path: root/src/Config.ts
diff options
context:
space:
mode:
authordestruc7i0n <6181960+destruc7i0n@users.noreply.github.com>2022-01-02 19:28:04 -0500
committerGitHub <noreply@github.com>2022-01-02 19:28:04 -0500
commit037deb3ea5c8688762a50b12302d3fc025cf9b3b (patch)
treeb06cc3de5c05228226003a2ae09d762e79bfa75c /src/Config.ts
parentcleanup from merge (diff)
downloadshulker-037deb3ea5c8688762a50b12302d3fc025cf9b3b.tar.gz
shulker-037deb3ea5c8688762a50b12302d3fc025cf9b3b.zip
Webhook updates (#78)
* extracted webhook config, modernized config
* updated readme to be more beginner friendly

* added config for uuid api url

* more readme updates

Co-authored-by: destruc7i0n <destruc7i0n@users.noreply.github.com>
Diffstat (limited to 'src/Config.ts')
-rw-r--r--src/Config.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Config.ts b/src/Config.ts
index 485d6ae..8b18aa7 100644
--- a/src/Config.ts
+++ b/src/Config.ts
@@ -7,7 +7,6 @@ export interface Config {
   IGNORE_WEBHOOKS: string
   DISCORD_TOKEN: string
   DISCORD_CHANNEL_ID: string
-  DISCORD_CHANNEL_NAME: string
   DISCORD_MESSAGE_TEMPLATE: string
 
   MINECRAFT_SERVER_RCON_IP: string
@@ -29,7 +28,7 @@ export interface Config {
   ALLOW_USER_MENTIONS: boolean
   ALLOW_HERE_EVERYONE_MENTIONS: boolean
   ALLOW_SLASH_COMMANDS: boolean
-  SLASH_COMMAND_ROLES: string[]
+  SLASH_COMMAND_ROLES_IDS: string[]
 
   WEBHOOK: string
   REGEX_SERVER_PREFIX: string
@@ -40,7 +39,9 @@ export interface Config {
   SERVER_NAME: string
   SERVER_IMAGE: string
   HEAD_IMAGE_URL: string
+  UUID_API_URL: string
   DEFAULT_PLAYER_HEAD: string
+
   SHOW_SERVER_STATUS: boolean
   SHOW_PLAYER_CONN_STAT: boolean
   SHOW_PLAYER_ADVANCEMENT: boolean