redundancy check

This commit is contained in:
SowinskiBraeden committed 2022-08-01 13:07:27 -07:00
1 parent be338ece36
commit 46707b091e
1 file changed
+8
+8
View File
@@ -23,6 +23,7 @@ module.exports = {
return interaction.send(`You are not allowed to use the bot in this channel.`);
}
if (GuildDB.incomeRoleStatus) {
let listEmbed = new MessageEmbed()
.setColor(client.config.EmbedColor)
.setTitle('List of Work Roles')
@@ -36,6 +37,13 @@ module.exports = {
listEmbed.setDescription(data)
return interaction.send({ embeds: [listEmbed] })
} else {
let noRoles = new MessageEmbed()
.setColor(client.config.EmbedColor)
.setDescription('**QuarksBot Notice:** There are no income roles')
return interaction.send({ embeds: [noRoles] });
}
},
},
}