Skip to content

Commit

Permalink
use colour if not in american english
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed Oct 27, 2023
1 parent 3bd8c66 commit 1948a98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/commands/bot/embed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand Down
3 changes: 2 additions & 1 deletion src/commands/images/palette.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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),
),
Expand Down

0 comments on commit 1948a98

Please sign in to comment.