wrong way to send embeds
You are using the old way to send embeds. I'm not sure how you forgot about this one area but everyone makes mistakes :D
This commit is contained in:
1 parent
8bfcba8832
commit
74646a4318
1 file changed
+1
-1
+1
-1
@@ -62,7 +62,7 @@ module.exports = new Command({
|
|||||||
)
|
)
|
||||||
.setColor(supportbot.EmbedColour);
|
.setColor(supportbot.EmbedColour);
|
||||||
|
|
||||||
await interaction.reply(CloseTicketRequest);
|
await interaction.reply({embds: [CloseTicketRequest});
|
||||||
await interaction.channel.awaitMessages(
|
await interaction.channel.awaitMessages(
|
||||||
(r) =>
|
(r) =>
|
||||||
r.content.toLowerCase() === supportbot.ClosingConfirmation_Word &&
|
r.content.toLowerCase() === supportbot.ClosingConfirmation_Word &&
|
||||||
|
|||||||
Reference in new issue
Block a user