few changes
diff --git a/src/utils/confirmationMessage.ts b/src/utils/confirmationMessage.ts
index fc8b76c..f5c322b 100644
--- a/src/utils/confirmationMessage.ts
+++ b/src/utils/confirmationMessage.ts
@@ -65,7 +65,7 @@
.setLabel(this.customButtonTitle)
.setStyle("SECONDARY")
.setDisabled(this.customButtonDisabled)
- .setEmoji(getEmojiByName("CONTROL.RIGHT", "id")) // TODO: add an emoji
+ .setEmoji(getEmojiByName("CONTROL.TICKET", "id"))
] : []))
],
ephemeral: true,
@@ -81,7 +81,7 @@
try {
component = await (m as Message).awaitMessageComponent({filter: (m) => m.user.id === this.interaction.user.id, time: 2.5 * 60 * 1000});
} catch (e) {
- return {success: false, buttonClicked: this.customCallbackClicked, response: this.customCallbackResponse}; // TODO: Check the type of the error; change the error message here
+ return {success: false, buttonClicked: this.customCallbackClicked, response: this.customCallbackResponse};
}
if (component.customId === "yes") {
component.deferUpdate();