Button Question

How can i make a button never expire?
d.js toolkit43d 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!
darp43d ago
how you're handling and sending it?
InfinityInnovator43d ago
No description
InfinityInnovator43d ago
How do i make a button an interactionCreate event wouldn't i just be able to put the button id's in a array that code it so it makes the button id's never expire?
Buttons doesn't expire actually, you can create a custom button handler function which handles button based on its id.
Want results from more Discord servers?
Add your server
More Posts
Commands not refreshing after being correctly deployedGood evening. I'm developing a discord.js bot using typescript. I am having trouble using my deployeguild.guildScheduledEventUserAdd event failing to fire consistentlyI am having an issue with the guildScheduledEventUserAdd event. It seems to trigger sometimes but whWhere do I start from?Hi, Can y'all share some helpful resouces with me so that I can understand and learn about npmjs?? THelp me plsCode: Error: `[WARNING] The command at C:\Users\OE104655\Videos\Eendsmp bot\commands\utility\giveawHelp me plsIdk whats wrong with this line of code: `const client = new Client({ intents: [GatewayIntentBits.Guiis it possible to run command 1 from command 2so like command 1 is /embed title: description: And i want to run that command with pre-set values fHow do I add a role with discord.js```js const target = interaction.options.getUser('target'); const role = interaction.options.getRolecheck if role is set to certain role idshow do i check if the role is set to certain ids? ```js const role = interaction.optHow do you turn on a discord bot?It ain't onErrorroot@VPS-10384:~/7bLogsBot# node index node:internal/modules/cjs/loader:1137 throw err; ^ ErrorTypeErrorCode: `const guild = bot.guilds.cache.get(process.env.GUILD_ID);` Error: `TypeError: Cannot read Modal — PaginationHi! To construct my bot, I wanted to use modals allowing user reply. But my number of fields is moreduplicated interactionsokay i need help, because i have been hititng my head against the wall abt this for days. my interacMaintaining connection after restarting nodeI have a bot that would connect to a channel and play sounds. I have a slash command that would play