NAiOS IconNAiOS Logo
Volver al catálogo

Discord

discord

An instant messaging and VoIP social platform.

Acciones
6
Triggers
1
Autenticación
OAuth gestionado
Información técnica: el detalle de parámetros, schemas y triggers de esta página está pensado para equipos de integración. Si solo necesitas saber si tu herramienta favorita está disponible, basta con ver la lista de acciones.

Acciones disponibles (6)

Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.

Get InviteDISCORD_GET_INVITEAcción

Tool to retrieve information about a specific invite code. use when you need to get details about a guild or channel associated with an invite.

Parámetros de entrada

  • invite_codestringObligatorio

    The invite code (e.g., "0vCdhLbwjZZTWZLD").

  • with_countsboolean

    Whether the invite should contain approximate member counts.

  • with_expirationboolean

    Whether the invite should contain the expiration date.

  • guild_scheduled_event_idstring

    The guild scheduled event to include with the invite.

Parámetros de salida

  • dataobjectObligatorio

    Data from the action execution

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get my guild memberDISCORD_GET_MY_GUILD_MEMBERAcción

Retrieves the guild member object for the currently authenticated user within a specified guild, provided they are a member of that guild.

Parámetros de entrada

  • guild_idstringObligatorio

    The unique identifier of the Discord guild (server) from which to fetch the member object.

Parámetros de salida

  • dataobjectObligatorio

    The guild member object containing comprehensive details for the authenticated user within the specified guild.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get my OAuth2 authorizationDISCORD_GET_MY_OAUTH2_AUTHORIZATIONAcción

Retrieves current oauth2 authorization details for the application, including app info, scopes, token expiration, and user data (contingent on scopes like 'identify').

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Authorized application details, token expiration, granted scopes, and optional user information (contingent on scopes).

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Get my userDISCORD_GET_MY_USERAcción

Fetches comprehensive profile information for the currently authenticated discord user, including email if the 'email' scope is granted.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobjectObligatorio

    Detailed profile information for the authenticated user.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Retrieve user connectionsDISCORD_LIST_MY_CONNECTIONSAcción

Retrieves a list of the authenticated user's connected third-party accounts on discord.

Parámetros de entrada

Sin parámetros.

Parámetros de salida

  • dataobject[]Obligatorio

    List of connection objects for the user's linked external accounts.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

List my guildsDISCORD_LIST_MY_GUILDSAcción

Lists the current user's guilds, returning partial data for each; primarily used for displaying server lists or verifying memberships.

Parámetros de entrada

  • afterstring

    Get guilds after this guild ID.

  • limitinteger

    Max number of guilds to return (1-200, default 200).

  • beforestring

    Get guilds before this guild ID.

  • with_countsboolean

    Include approximate member and presence counts for each guild (defaults to false).

Parámetros de salida

  • dataobject[]Obligatorio

    A list of partial guild objects for the guilds the current user is a member of.

  • errorstring

    Error if any occurred during the execution of the action

  • successfulbooleanObligatorio

    Whether or not the action execution was successful or not

Triggers (1)

Los triggers son eventos externos que pueden iniciar un flujo en tus agentes (ej: nuevo email, mensaje recibido, registro creado).

New Discord Message TriggerDISCORD_NEW_MESSAGE_TRIGGERTrigger

Polls a specific Discord channel for new messages.

Configuración

  • channel_idstringObligatorio

    The ID of the Discord channel to monitor for new messages.

  • intervalnumber

    Periodic Interval to Check for Updates & Send a Trigger in Minutes

  • limitinteger

    The number of messages to fetch per poll.

Payload del evento

  • event_typestring

    Type of Discord message event

  • messageobjectObligatorio

    The Discord message that was created

Instrucciones

1. Provide the channel ID of the Discord channel you'd like to poll. 2. On first poll, we skip returning existing messages to avoid a flood. 3. On subsequent polls, any message with an ID greater than the last seen ID is returned as 'new.'