Check for no invite

This commit is contained in:
Daniel Odendahl Jr
2018-02-14 22:40:24 +00:00
parent 4a59cb6bc2
commit 57876d58cd
+1 -1
View File
@@ -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',