diff --git a/src/commands/misc/archive.ts b/src/commands/misc/archive.ts index 3a8d30c..46b3fb1 100644 --- a/src/commands/misc/archive.ts +++ b/src/commands/misc/archive.ts @@ -1,5 +1,5 @@ import { SlashCommandBuilder } from '@discordjs/builders'; -import { ChannelType, Client, CommandInteraction, EmbedBuilder, NonThreadGuildBasedChannel } from 'discord.js'; +import { ChannelType, Client, Colors, CommandInteraction, EmbedBuilder, NonThreadGuildBasedChannel } from 'discord.js'; import '../../modules/string'; import { getLocale, getLocalizations } from '../../utils/locales'; import { getFilename } from '../../utils/misc'; @@ -46,7 +46,7 @@ export default { return interaction.reply({ embeds: [ new EmbedBuilder() - .setColor('Blurple') + .setColor(Colors.Blurple) .setTitle(loc.get('c_archive1')) .setDescription(loc.get('c_archive2')), ], @@ -94,7 +94,7 @@ export default { return interaction.reply({ embeds: [ new EmbedBuilder() - .setColor('Blurple') + .setColor(Colors.Blurple) .setTitle(loc.get('c_archive6')) .setDescription( loc.get('c_archive7') @@ -109,7 +109,7 @@ export default { return interaction.reply({ embeds: [ new EmbedBuilder() - .setColor('Blurple') + .setColor(Colors.Blurple) .setTitle(loc.get('c_archive4') + ' `' + catToArchive.map(cat => cat?.name) diff --git a/src/commands/misc/help.ts b/src/commands/misc/help.ts index 6f680ba..45ce8c4 100644 --- a/src/commands/misc/help.ts +++ b/src/commands/misc/help.ts @@ -1,6 +1,6 @@ import { SlashCommandBuilder } from '@discordjs/builders'; import { Locale } from 'discord-api-types/v9'; -import { Client, ChatInputCommandInteraction, EmbedBuilder } from 'discord.js'; +import { Client, ChatInputCommandInteraction, EmbedBuilder, Colors } from 'discord.js'; import { getLocale, getLocalizations } from '../../utils/locales'; import { getFilename } from '../../utils/misc'; import '../../modules/string'; @@ -62,7 +62,7 @@ export default { // Sends a list of commands sorted into categories return interaction.reply({ embeds: [ new EmbedBuilder() - .setColor('Blurple') + .setColor(Colors.Blurple) .setTitle(loc.get('c_help1')) .setDescription(loc.get('c_help2')) .addFields(fields), @@ -82,7 +82,7 @@ export default { // Send information about the command return interaction.reply({ embeds: [ new EmbedBuilder() - .setColor('Blurple') + .setColor(Colors.Blurple) .setTitle('`/' + command.data.name + '`') .setDescription( // Loads the description diff --git a/src/commands/misc/prep.ts b/src/commands/misc/prep.ts index 677ddde..6fc211f 100644 --- a/src/commands/misc/prep.ts +++ b/src/commands/misc/prep.ts @@ -1,5 +1,5 @@ import { SlashCommandBuilder } from '@discordjs/builders'; -import { ChannelType, Client, CommandInteraction, EmbedBuilder } from 'discord.js'; +import { ChannelType, Client, Colors, CommandInteraction, EmbedBuilder } from 'discord.js'; import '../../modules/string'; import { getLocale, getLocalizations } from '../../utils/locales'; import { getFilename } from '../../utils/misc'; @@ -46,7 +46,7 @@ export default { return interaction.reply({ embeds: [ new EmbedBuilder() - .setColor('Blurple') + .setColor(Colors.Blurple) .setTitle(loc.get('c_prep1')) .setDescription(loc.get('c_prep2')), ], @@ -95,7 +95,7 @@ export default { parent: cat_to_prep_id[0], }); - desc += info + loc.get('c_prep5') + '\n'; + desc += '`' + info + '` ' + loc.get('c_prep5') + '\n'; } if (desc == '') { @@ -105,7 +105,7 @@ export default { return interaction.reply({ embeds: [ new EmbedBuilder() - .setColor('Blurple') + .setColor(Colors.Blurple) .setTitle(loc.get('c_prep4') + cat_to_prep_name) .setDescription( desc,