Why is there an error message even though the interaction is successful is working in discord.py?
I have created a !work
command where the buttons help in navigating through pages. Each time a button is clicked, the embed is edited to the required page. I am getting an error message saying that the interaction failed even though the embed was edited properly. How do I fix this?
The code for editing the embed is here:
await interaction.message.edit(embed=new_embed)
from Recent Questions - Stack Overflow https://ift.tt/3kQCyWv
https://ift.tt/eA8V8J
Comments
Post a Comment