hotfix deprecated setcolors

This commit is contained in:
SowinskiBraeden committed 2022-10-11 16:06:58 -07:00
1 parent 2bbea81cf9
commit 86062da0bd
8 files changed
+15 -15

No files matched your search

+5 -5
View File
@@ -687,7 +687,7 @@ module.exports = {
const successEmbed = new EmbedBuilder()
.setDescription(`Successfully ${perform} <@&${roleId}>'s income to $${args[0].options[0].options[1].value}`)
.setColor('GREEN');
.setColor(client.config.Colors.Green);
return interaction.send({ embeds: [successEmbed] });
@@ -737,7 +737,7 @@ module.exports = {
const successEmbed = new EmbedBuilder()
.setDescription(`Successfully set <@&${roleId}> as commercial role.\nUsers with this role can now use business commands.`)
.setColor('GREEN');
.setColor(client.config.Colors.Green);
return interaction.send({ embeds: [successEmbed] });
@@ -779,7 +779,7 @@ module.exports = {
const successEmbed = new EmbedBuilder()
.setDescription(`Successfully set <@&${roleId}> as officer role.\nUsers with this role can now fine other users.`)
.setColor('GREEN');
.setColor(client.config.Colors.Green);
return interaction.send({ embeds: [successEmbed] });
@@ -821,7 +821,7 @@ module.exports = {
const successEmbed = new EmbedBuilder()
.setDescription(`Successfully set <@&${roleId}> as dispatcher role.\nUsers with this role can now receive 911/311 notifications.`)
.setColor('GREEN');
.setColor(client.config.Colors.Green);
return interaction.send({ embeds: [successEmbed] });
@@ -864,7 +864,7 @@ module.exports = {
const successEmbed = new EmbedBuilder()
.setDescription(`Successfully set <@&${roleId}> as a bot admin role.\nUsers with this role can use restricted commands.`)
.setColor('GREEN');
.setColor(client.config.Colors.Green);
return interaction.send({ embeds: [successEmbed] });