Reputation: 1
So i created a command that sends a embed with discord.py modals but I ran into a thing that bothered me. How do I send a interaction twice without responding to the first interaction? For example this is what I want it to look like:
I tried to do interaction.followup.send but that didnt work
Upvotes: 0
Views: 1486
Reputation: 2501
In the image you showed it seems they have done something such as the following. This is not the best solution as it requires send messages permissions and not just application commands permissions.
await interaction.response.send_message("message A", ephemeral=True)
await interaction.channel.send("message B")
I would recommend instead to use followup:
await interaction.response.send_message("message A", ephemeral=True)
await interaction.followup.send("message B")
Upvotes: 1