Discord
discordAn instant messaging and VoIP social platform.
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ónTool to retrieve information about a specific invite code. use when you need to get details about a guild or channel associated with an invite.
DISCORD_GET_INVITEAcciónTool 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_codestringObligatorioThe invite code (e.g., "0vCdhLbwjZZTWZLD").
with_countsbooleanWhether the invite should contain approximate member counts.
with_expirationbooleanWhether the invite should contain the expiration date.
guild_scheduled_event_idstringThe guild scheduled event to include with the invite.
Parámetros de salida
dataobjectObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get my guild memberDISCORD_GET_MY_GUILD_MEMBERAcciónRetrieves the guild member object for the currently authenticated user within a specified guild, provided they are a member of that guild.
DISCORD_GET_MY_GUILD_MEMBERAcciónRetrieves 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_idstringObligatorioThe unique identifier of the Discord guild (server) from which to fetch the member object.
Parámetros de salida
dataobjectObligatorioThe guild member object containing comprehensive details for the authenticated user within the specified guild.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get my OAuth2 authorizationDISCORD_GET_MY_OAUTH2_AUTHORIZATIONAcciónRetrieves current oauth2 authorization details for the application, including app info, scopes, token expiration, and user data (contingent on scopes like 'identify').
DISCORD_GET_MY_OAUTH2_AUTHORIZATIONAcciónRetrieves 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
dataobjectObligatorioAuthorized application details, token expiration, granted scopes, and optional user information (contingent on scopes).
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get my userDISCORD_GET_MY_USERAcciónFetches comprehensive profile information for the currently authenticated discord user, including email if the 'email' scope is granted.
DISCORD_GET_MY_USERAcciónFetches 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
dataobjectObligatorioDetailed profile information for the authenticated user.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retrieve user connectionsDISCORD_LIST_MY_CONNECTIONSAcciónRetrieves a list of the authenticated user's connected third-party accounts on discord.
DISCORD_LIST_MY_CONNECTIONSAcciónRetrieves 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[]ObligatorioList of connection objects for the user's linked external accounts.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List my guildsDISCORD_LIST_MY_GUILDSAcciónLists the current user's guilds, returning partial data for each; primarily used for displaying server lists or verifying memberships.
DISCORD_LIST_MY_GUILDSAcciónLists the current user's guilds, returning partial data for each; primarily used for displaying server lists or verifying memberships.
Parámetros de entrada
afterstringGet guilds after this guild ID.
limitintegerMax number of guilds to return (1-200, default 200).
beforestringGet guilds before this guild ID.
with_countsbooleanInclude approximate member and presence counts for each guild (defaults to false).
Parámetros de salida
dataobject[]ObligatorioA list of partial guild objects for the guilds the current user is a member of.
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether 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_TRIGGERTriggerPolls a specific Discord channel for new messages.
DISCORD_NEW_MESSAGE_TRIGGERTriggerPolls a specific Discord channel for new messages.
Configuración
channel_idstringObligatorioThe ID of the Discord channel to monitor for new messages.
intervalnumberPeriodic Interval to Check for Updates & Send a Trigger in Minutes
limitintegerThe number of messages to fetch per poll.
Payload del evento
event_typestringType of Discord message event
messageobjectObligatorioThe 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.'