diff --git a/commands/misc/custom.js b/commands/misc/custom.js index 31abd25..318d2f1 100644 --- a/commands/misc/custom.js +++ b/commands/misc/custom.js @@ -68,7 +68,7 @@ module.exports = { }else sendText = "NO CUSTOM COMMANDS" break; case "variables": - sendText = "The variables you can use are:\n\n\n\n\n\n\n\n" + sendText = "The variables you can use are:\n\n\n\n\n\n\n" break; case "edit": sendText = editCustomCommand(customName, message.author.id, customMessage) diff --git a/util/custom_commands/customReplaceWithVariables.js b/util/custom_commands/customReplaceWithVariables.js index 1a5e967..b71d598 100644 --- a/util/custom_commands/customReplaceWithVariables.js +++ b/util/custom_commands/customReplaceWithVariables.js @@ -6,12 +6,11 @@ module.exports = function(customMessage, message, prefix, globalPrefix){ let nickname = getNickname(user, message.guild) let username = user.user.username let userID = user.user.id - let discriminator = user.user.discriminator let guildName = message.guild.name let guildID = message.guild.id - let variables = ["", "", "", "", "", "", "", ""] - let replacer = [prefix, globalPrefix, username, nickname, userID, discriminator, guildName, guildID] + let variables = ["", "", "", "", "", "", ""] + let replacer = [prefix, globalPrefix, username, nickname, userID, guildName, guildID] for (let i = 0; i < variables.length; i++){