discord-interactions.py

respond

Coroutinemust be awaited

Responds to the interaction, or sends a followup if it was already answered.

from discord_interactions import respond

Signature

async def respond(    interaction: discord.Interaction,    content: str | None = None,    **kwargs: Any,) -> Any

Parameters

NameTypeDefaultDescription
interactiondiscord.Interactionrequired
contentstr | NoneNone
**kwargsAny

Returns

Any

Type a name: create_button, ModalBuilder, cooldown.