-
Notifications
You must be signed in to change notification settings - Fork 8
Send Messages
Gago edited this page Apr 16, 2021
·
3 revisions
A node with one input. Sends a message to the specified channel.
- Name - input node's name.
- Token - select bot token created via Token node.
- Direct message - comma-separated user IDs (or a single ID) to send a direct message.
- Text channels - comma-separated channel IDs (or a single ID) to send message to.
{
dm?: string | string[]; // Same as Direct Message conf. option.
channel?: string | string[]; // Same as Text Channels conf. option.
msg?: string; // Simple string message
embed?: RichEmbedArgs; // Rich text embed message
attachments?: {
name: string;
attachment: string | Buffer | Stream;
};[]; // Attachments to send with message
}In messages you can mention Users and Roles.
The syntax for
Users - @!(username)
Roles - @&(role name)