discord-interactions.py

update_message

Coroutinemust be awaited

Edits the message of the clicked component. Shortcut for respond_to_interaction(..., update=True).

from discord_interactions import update_message

Signature

async def update_message(interaction: discord.Interaction, **kwargs: Any) -> Any

Parameters

NameTypeDefaultDescription
interactiondiscord.Interactionrequired
**kwargsAny

Returns

Any

Type a name: create_button, ModalBuilder, cooldown.