mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-06 02:01:26 +03:00
fix: custom ID overflow with Create from message
(closes #494)
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
};
|
||||
};
|
||||
|
Reference in New Issue
Block a user