vanquish
vanquish

Reputation: 1

How to make a response not show a reply message

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: enter image description here

I tried to do interaction.followup.send but that didnt work

Upvotes: 0

Views: 1486

Answers (1)

DenverCoder1
DenverCoder1

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")

enter image description here

I would recommend instead to use followup:

await interaction.response.send_message("message A", ephemeral=True)
await interaction.followup.send("message B")

enter image description here

Upvotes: 1

Related Questions