MessagePrompterConfirmStrategy not working with custom emojis

Hey, I'm trying to use MessagePrompterConfirmStrategy and I use custom emojis uploaded to my application, but it won't work. Any fixes?
4 Replies
čamdžić
čamdžićOP5mo ago
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildMessageReactions
],
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildMessageReactions
],
intents
const messagePrompterHandler = new MessagePrompterConfirmStrategy(
"...",
{
confirmEmoji: this.container.emojis.success,
cancelEmoji: this.container.emojis.error
}
);
const messagePrompterResult = await messagePrompterHandler.run(
message.channel,
message.author
);
const messagePrompterHandler = new MessagePrompterConfirmStrategy(
"...",
{
confirmEmoji: this.container.emojis.success,
cancelEmoji: this.container.emojis.error
}
);
const messagePrompterResult = await messagePrompterHandler.run(
message.channel,
message.author
);
code With any other emojis that are not uploaded to bot application, it works
Favna
Favna5mo ago
Gee uh no idea I haven't looked at the class in ages. Why not use buttons though?
čamdžić
čamdžićOP5mo ago
Cuz I have your utility and it’s with reaction Someone needs to remake it with buttons fr
Favna
Favna5mo ago
it should be it's own class but it's also really easy to create a custom interactioncollector djs class tbh

Did you find this page helpful?