4.2.2 debug undefined in /channels command

This commit is contained in:
SowinskiBraeden committed 2022-12-07 18:05:02 -08:00
1 parent 208b61f1b9
commit 4b4f161fac
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -32,10 +32,11 @@ module.exports = {
let channels = new EmbedBuilder() let channels = new EmbedBuilder()
.setColor(client.config.Colors.Default) .setColor(client.config.Colors.Default)
.setTitle('Channels') .setTitle('Channels')
let des;
let des = '';
for (let i = 0; i < GuildDB.allowedChannels.length; i++) { for (let i = 0; i < GuildDB.allowedChannels.length; i++) {
if (i == 0) des += `> <#${GuildDB.allowedChannels[i]}>`; if (i == 0) des += `> <#${GuildDB.allowedChannels[i]}>`;
else des += `\n > <#${GuildDB.allowedChannels[i]}>`; else des += `\n> <#${GuildDB.allowedChannels[i]}>`;
} }
channels.setDescription(des); channels.setDescription(des);
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dayz-armbands", "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.", "description": "A Discord Bot to handle DayZ server flags and armbands for in game factions.",
"main": "index.js", "main": "index.js",
"nodemonConfig": { "nodemonConfig": {