fix: custom ID overflow with Create from message (closes #494)

This commit is contained in:
Isaac
2024-11-08 23:17:29 +00:00
parent f9a7f0cbd9
commit b0d77c1af6
3 changed files with 13 additions and 14 deletions

View File

@@ -18,6 +18,6 @@ module.exports = class CreateMessageCommand extends MessageCommand {
* @param {import("discord.js").MessageContextMenuCommandInteraction} interaction
*/
async run(interaction) {
await useGuild(this.client, interaction, { referencesMessage: interaction.targetMessage.channelId + '/' + interaction.targetId });
await useGuild(this.client, interaction, { referencesMessageId: interaction.targetId });
}
};
};