discord-interactions.py

user_installable

Function

Command installable by users and usable everywhere.

from discord_interactions import user_installable

Signature

def user_installable() -> Callable

Returns

Callable

Example

from discord_interactions.slash import user_installable @slash.command(description="Note privée", ephemeral=True)@user_installable()async def note(ctx):    await ctx.respond("Disponible partout, même en message privé.")

Type a name: create_button, ModalBuilder, cooldown.