From dc70468459c0b510b5bf8b8c045e9c374b84cad1 Mon Sep 17 00:00:00 2001 From: destruc7i0n Date: Sat, 31 Oct 2020 00:10:37 -0400 Subject: update packages --- src/Discord.ts | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/Discord.ts') diff --git a/src/Discord.ts b/src/Discord.ts index 93a99ff..7a4f5d6 100644 --- a/src/Discord.ts +++ b/src/Discord.ts @@ -114,13 +114,11 @@ class Discord { console.log('[INFO] User attempted a slash command without a role') } } else { - if (this.config.MINECRAFT_TELLRAW_DOESNT_EXIST) - { - command = `/say ${this.makeMinecraftTellraw(message)}` - } - else { - command = `/tellraw @a ${this.makeMinecraftTellraw(message)}` - } + if (this.config.MINECRAFT_TELLRAW_DOESNT_EXIST) { + command = `/say ${this.makeMinecraftTellraw(message)}` + } else { + command = `/tellraw @a ${this.makeMinecraftTellraw(message)}` + } } if (this.config.DEBUG) console.log(`[DEBUG] Sending command "${command}" to the server`) -- cgit 1.4.1