help with command

so basically i run the command and its supposed to be an embed for users to click and the choose the reaction to open that ticket type and when i run tht command the bot reacts and then deletes that reaction and makes its own ticket and only keeps one reaction and that reaction doesnt even work if u know wha ti mean
5 Replies
d.js toolkit
d.js toolkitā€¢7mo 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! - āœ… Marked as resolved by OP
ahmood
ahmoodā€¢7mo ago
Filter out bots when listening to the reaction event
.
.OPā€¢7mo ago
idek how to code someone just made it for me. this is the command itself if it helps idk
const { MessageEmbed } = require("discord.js")


module.exports = {
name: 'ticketembed',
async execute(message, client) {

const ticketEmbed = new MessageEmbed()
.setTitle("šŸŽŸ | Support Tickets")
.setDescription(`Found a bug, or error? Have a question, or another concern? Would you like to partner with us? Click one of the buttons corresponding to what we listed here!\n\nšŸ› - Report a bug\nā“ - General Support\nā” - Partnerships`)
.setColor("#2F3136")

await message.delete();
const ticketEmbedMsg = await message.channel.send({ embeds: [ticketEmbed] });
await ticketEmbedMsg.react("šŸ›");
await ticketEmbedMsg.react("ā“");
await ticketEmbedMsg.react("ā”");

}
}
const { MessageEmbed } = require("discord.js")


module.exports = {
name: 'ticketembed',
async execute(message, client) {

const ticketEmbed = new MessageEmbed()
.setTitle("šŸŽŸ | Support Tickets")
.setDescription(`Found a bug, or error? Have a question, or another concern? Would you like to partner with us? Click one of the buttons corresponding to what we listed here!\n\nšŸ› - Report a bug\nā“ - General Support\nā” - Partnerships`)
.setColor("#2F3136")

await message.delete();
const ticketEmbedMsg = await message.channel.send({ embeds: [ticketEmbed] });
await ticketEmbedMsg.react("šŸ›");
await ticketEmbedMsg.react("ā“");
await ticketEmbedMsg.react("ā”");

}
}
monbrey
monbreyā€¢7mo ago
If you cant code, you're not going to be able to apply code fixes either
ahmood
ahmoodā€¢7mo ago
then probably ask that someone to fix it
Want results from more Discord servers?
Add your server