From 57876d58cdb47dd1c59af966609c1ec0d6768d43 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 14 Feb 2018 22:40:24 +0000 Subject: [PATCH] Check for no invite --- commands/util/info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/util/info.js b/commands/util/info.js index 89cd95a7..a45384a7 100644 --- a/commands/util/info.js +++ b/commands/util/info.js @@ -27,7 +27,7 @@ module.exports = class InfoCommand extends Command { .addField('❯ Commands', this.client.registry.commands.size, true) .addField('❯ Home Server', - `[Here](${this.client.options.invite})`, true) + this.client.options.invite ? `[Here](${this.client.options.invite})` : 'None', true) .addField('❯ Memory Usage', `${Math.round(process.memoryUsage().heapUsed / 1024 / 1024)}MB`, true) .addField('❯ Uptime',