Skip to content

Commit

Permalink
Fixed the close button's label
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayrix authored Feb 17, 2024
1 parent a2712af commit 1f69795
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/createTicket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export const createTicket = async (interaction: StringSelectMenuInteraction | Mo
row.addComponents(
new ButtonBuilder()
.setCustomId("close")
.setLabel(locale.getSubValue("buttons", "close", "emoji"))
.setLabel(locale.getSubValue("buttons", "close", "label"))
.setEmoji(locale.getSubValue("buttons", "close", "emoji"))
.setStyle(ButtonStyle.Danger)
);
Expand Down

0 comments on commit 1f69795

Please sign in to comment.