Updated buttonhandler to ignore tempbuttons

This commit is contained in:
2024-09-09 22:36:01 +02:00
parent fc50bc7a78
commit 7655768c30
3 changed files with 15 additions and 4 deletions

View File

@@ -35,8 +35,8 @@ export default async function prune(interaction: ChatInputCommandInteraction): P
}
const id = Math.random().toString(32).slice(2)
const buttonid = "button-" + id
const cancelid = "cancel-" + id
const buttonid = `tempbutton-pruneconfirm-${id}`
const cancelid = `tempbutton-prunecancel-${id}`
await interaction.editReply({
embeds: [{