This commit is contained in:
SowinskiBraeden committed 2023-02-09 16:19:03 -08:00
1 parent 6ce9e972e0
commit ba27ca573f
1 file changed
+3
+3
View File
@@ -43,6 +43,9 @@ module.exports = {
description = '> There are no factions that have claimed armbands.';
} else {
for (const [factionID, data] of Object.entries(GuildDB.factionArmbands)) {
const guild = client.guilds.cache.get(GuildDB.serverID);
const role = guild.roles.cache.find(role => role.id == factionID);
console.log(role);
if (description == "") description += `> <@&${factionID}> - ${data.armband}`;
else description += `\n> <@&${factionID}> - *${data.armband}*`;
}