19 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.What's the error
Also idt
ButtonStyle.Process
is a thingTypeError: emojiBtn.setEmoji(...).setStyle(...).removeLabel is not a function
What's
emojiBtn
Its A Node Module
Also
.removeLabel()
is not a thingIt Has Many Connections
What
It has to be a ButtonBuilder
Yup it is a buttonbuilder
Yea I don't think
.removeLabel()
is a thing
Just remove that and see what happensKk
one min
Working
TYSM
Another Error
How To Remove Emoji From Button
Just do
.setEmoji()
instead of removeEmoji()
Kk
@3061lrtagspkjmormrt Expected the value to be an object, but received undefined instead
Hold on
hi
Okay remove the setEmoji()
And replace it with
.toJSON()
then below that line, try doing emojiBtn.emoji = {}
why
...
Because I don't think you remove emojis using methods
why are you making up non existent methods