If an interaction (for example button click) is not replied, discord will display “interaction failed” in the client
What they expect you to do: inter.reply(‘stuff’)
What I want to do: inter.channel.send(‘stuff’)
This is not an error I just want to prevent “interaction failed” from showing up, is there anyway to do that?
You can use ButtonInteraction.deferUpdate()
. This will not show "This interaction failed", it replies with saying that you will edit it later[1], though it won't show any content like the Bot is thinking...
inter.deferUpdate();
inter.channel.send("some content")
[1]: You don't have to update it after