Making interactions persistent after bot restart
I'm using discord.js 14.3, node v18.9.0.
I'd like to create a ticketing system where the user can click a button to open a ticket. Ideally, I'd like to have the embed with those buttons pinned in a channel, and for that message to stay there indefinitely. Is there a way to make those buttons still work after the bot is restarted?
At the moment, it seems like if the embed is interacted with after the bot is restarted/goes offline, the interaction fails.
I'd like to create a ticketing system where the user can click a button to open a ticket. Ideally, I'd like to have the embed with those buttons pinned in a channel, and for that message to stay there indefinitely. Is there a way to make those buttons still work after the bot is restarted?
At the moment, it seems like if the embed is interacted with after the bot is restarted/goes offline, the interaction fails.