hotfix deprecated setcolors
This commit is contained in:
8 files changed
+15
-15
No files matched your search
@@ -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] });
|
||||
|
||||
|
||||
Reference in new issue
Block a user