summary refs log tree commit diff homepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Shulker.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Shulker.ts b/src/Shulker.ts
index 4c79c78..d9373ee 100644
--- a/src/Shulker.ts
+++ b/src/Shulker.ts
@@ -8,6 +8,8 @@ class Shulker {
   discordClient: DiscordClient
   handler: Handler
 
+  readonly deprecatedConfigs: string[] = ['DEATH_KEY_WORDS'];
+
   constructor() {
   }
 
@@ -20,6 +22,12 @@ class Shulker {
       return false
     }
 
+    for (let option of this.deprecatedConfigs) {
+      if (this.config.hasOwnProperty(option)) {
+        console.log('[WARN] Using deprecated config option ' + option + '. Check README.md for current options.')
+      }
+    }
+
     if (this.config.USE_WEBHOOKS) {
       console.log('[INFO] Using Discord WebHooks to send messages')
     } else {