From 1948a9835ac329b2186e07eeac8dc1cfc06ebd26 Mon Sep 17 00:00:00 2001 From: Evorp <3vorpgaming@gmail.com> Date: Thu, 26 Oct 2023 19:28:59 -0700 Subject: [PATCH] use colour if not in american english --- src/commands/bot/embed.ts | 6 ++++-- src/commands/images/palette.ts | 3 ++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/commands/bot/embed.ts b/src/commands/bot/embed.ts index 1c97aefd1..19bdf45aa 100644 --- a/src/commands/bot/embed.ts +++ b/src/commands/bot/embed.ts @@ -18,8 +18,10 @@ export const command: SlashCommand = { ) .addStringOption((o) => o - .setName("color") - .setDescription("Set the color on the side of the embed.") + .setName("colour") + .setNameLocalization("en-US", "color") + .setDescription("Set the colour on the side of the embed.") + .setDescriptionLocalization("en-US", "Set the color on the side of the embed.") .setRequired(false), ) .addStringOption((o) => diff --git a/src/commands/images/palette.ts b/src/commands/images/palette.ts index 61d9e89bb..55aae6304 100644 --- a/src/commands/images/palette.ts +++ b/src/commands/images/palette.ts @@ -8,7 +8,8 @@ import { imageTooBig } from "@helpers/warnUser"; export const command: SlashCommand = { data: new SlashCommandBuilder() .setName("palette") - .setDescription("Get the color palette of an image.") + .setDescription("Get the colour palette of an image.") + .setDescriptionLocalization("en-US", "Get the color palette of an image.") .addAttachmentOption((o) => o.setName("image").setDescription("The image to palette").setRequired(false), ),