Skip to main content

Discord

This Integration is part of the Discord Pack.#

Supported versions

Available on Cortex XSOAR (versions 6.0.0 and later) and Cortex XSIAM.

This is the Discord integration for sending Messages from XSOAR to Discord server made by Trustnet

Configure Discord in Cortex#

ParameterDescriptionRequired
Api KeyYou'll find your api key in BOT section -> Reset TokenTrue
Channel IDYou'll find your channel id by click on your channle then "Copy Channel ID"True

Commands#

You can execute these commands from the CLI, as part of an automation, or in a playbook. After you successfully execute a command, a DBot message appears in the War Room with the command details.

discord-send-message#


Send message to your channel

Base Command#

discord-send-message

Input#

Argument NameDescriptionRequired
textEnter your text.Required

Context Output#

PathTypeDescription
Discord.Message.idunknownMessage ID
Discord.Message.contentunknownContent
Discord.Message.channel_idunknownChannel ID

discord-get-message#


Get message details

Base Command#

discord-get-message

Input#

Argument NameDescriptionRequired
message_idRight click on message then "Copy Message ID".Required

Context Output#

PathTypeDescription
Discord.Details.idunknownMessage ID
Discord.Details.contentunknownMessage Content
Discord.Details.channel_idunknownMessage Channel ID
Discord.Details.author.idunknownMessage Author ID
Discord.Details.author.usernameunknownMessage Author User Name