also it needs yet another partial also .name is the actual emoji not the name

This commit is contained in:
2025-10-22 01:47:43 -04:00
parent 6d9836eb11
commit 749b4593b9

View File

@@ -13,7 +13,8 @@ const client = new Client({
partials: [ partials: [
Partials.Channel, Partials.Channel,
Partials.Message, Partials.Message,
Partials.Reaction Partials.Reaction,
Partials.User
] ]
}); });
client.once(Events.ClientReady, readyClient => { client.once(Events.ClientReady, readyClient => {
@@ -42,7 +43,7 @@ client.on(Events.MessageCreate, message => {
// funny auto mpreg react // funny auto mpreg react
client.on(Events.MessageReactionAdd, (reaction, user) => { client.on(Events.MessageReactionAdd, (reaction, user) => {
if (reaction.emoji.name === 'pregnant_man' && !user.bot) { if (reaction.emoji.name === '🫃' && !user.bot) {
reaction.message.react('🫃') reaction.message.react('🫃')
} }
}) })