#error when loading slashcommands

23 messages · Page 1 of 1 (latest)

radiant linden
#

• 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.

visual bridge
#

hello, i get this error when loading slash commands

lunar quail
#

Provide the description of the slash command

visual bridge
#

Oh moment

#

it worked thanks

lunar quail
#

Np 👍🏼

visual bridge
#

ledgend

#

legend

lunar quail
#

Lol

visual bridge
#

@lunar quail TypeError: embed.react is not a function

#
const embed = suggestieKanaal.send({embeds: [preEmbed.Suggestie(userTag, interaction.member.user.avatarURL(), suggestie)]})
        embed.react(config.emojis.approve);
        embed.react(config.emojis.decline);```
#

whats wrong with it

#

message sends etc but it does not react

#

this is the config

#

i also tried :decline:

lunar quail
#

Await the send

visual bridge
#

ok moment

#

thnx worked

lunar quail
#

😑

visual bridge
#

legend