The bot was working fine until today. After viewing the logs on my hosting, I didn't really understand anything; then I stopped the bot on the hosting, and ran it locally to check what is wrong. I get this error:
DiscordAPIError: Invalid Webhook Token
It shows that it's on line 116, which is the editReply:
const accountChoice = new MessageActionRow()
.addComponents(
new MessageButton()
.setCustomId('old_alts')
.setLabel('emppu_...')
.setStyle('PRIMARY'),
new MessageButton()
.setCustomId('new_alts')
.setLabel('New Accounts')
.setStyle('PRIMARY'),
);
// Line 116 below
await interaction.editReply({ content: "What account do you want to create?", components: [accountChoice] });
Any idea what's wrong?