-
Notifications
You must be signed in to change notification settings - Fork 84
Question, after creating a ticket... #7
Comments
Hey there, |
perhaps send the whole file here? |
interactionCreate.js module.exports = {
}, Only values I changed were the label: "Tech Support", label: "Report User", label: "Redeem a Giveaway", I haven't touched the |
It shouldn't return the category id, it returns the value you have added in |
I have this part modified to made the select menu look more appealing than those ugly ID's
const row = new client.discord.MessageActionRow() .addComponents( new client.discord.MessageSelectMenu() .setCustomId('category') .setPlaceholder('Select the category of the ticket') .addOptions([{ label: client.config.Category1name, value: client.config.Category1, emoji: '🔌', }, { label: client.config.Category2name, value: client.config.Category2, emoji: '⚠', }, { label: client.config.Category3name, value: client.config.Category3, emoji: '🎁', }, ]), );
however this:
.setDescription(
<@!${interaction.user.id}> Created a ticket with issues regarding `${i.values[0]}``)
Puts the ID of the category, how would I get it to put the name of the category instead so I don't have to keep trying to locate the ID of the ticket just to find out what the ticket is regarding all the time?
Thanks in advance
The text was updated successfully, but these errors were encountered: