v14 reactions adding

how to add reactions to you're command like /hi he says hi, how are you with a reaction like a thumb i am beginner at this so i need to learn things
3 Replies
d.js toolkit
d.js toolkit2y ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
d.js docs
d.js docs2y ago
method Message#react() Adds a reaction to the message.
scooby doo
scooby dooOP2y ago
where do i need to place that? @qjuh const {SlashCommandBuilder} = require('discord.js') module.exports = { data: new SlashCommandBuilder() .setName("hoi") .setDescription("geeft een mooi antwoord"), async execute(client, interaction){ interaction.reply({content:hoi, hoe gaat het}) } } how to add it into this
Want results from more Discord servers?
Add your server