diff --git a/commands/channels.js b/commands/channels.js index ffdd8d3..5f1abfc 100644 --- a/commands/channels.js +++ b/commands/channels.js @@ -32,10 +32,11 @@ module.exports = { let channels = new EmbedBuilder() .setColor(client.config.Colors.Default) .setTitle('Channels') - let des; + + let des = ''; for (let i = 0; i < GuildDB.allowedChannels.length; i++) { if (i == 0) des += `> <#${GuildDB.allowedChannels[i]}>`; - else des += `\n > <#${GuildDB.allowedChannels[i]}>`; + else des += `\n> <#${GuildDB.allowedChannels[i]}>`; } channels.setDescription(des); diff --git a/package.json b/package.json index 68b90d3..6b5717f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayz-armbands", - "version": "4.2.1", + "version": "4.2.2", "description": "A Discord Bot to handle DayZ server flags and armbands for in game factions.", "main": "index.js", "nodemonConfig": {