Expand description
Constructors§
Source§new DiscordV2<C extends unknown, L extends string>(
id: L,
props?: DiscordV2Props,
): DiscordV2<C, L>
new DiscordV2<C extends unknown, L extends string>(
id: L,
props?: DiscordV2Props,
): DiscordV2<C, L>
Properties§
Source§public position?: NodePosition
public position?: NodePosition
Position of the node in the n8n workflow editor canvas When undefined, the node will be placed automatically
Source§props?: DiscordV2Props
props?: DiscordV2Props
Methods§
Source§canTakeInput(
_fromState: IChainable,
_withConnectionOptions?: ConnectionOptions,
): boolean
canTakeInput(
_fromState: IChainable,
_withConnectionOptions?: ConnectionOptions,
): boolean
Determines if this state can accept input from another state
Source§clone<Id extends string>(
id: Id,
props?: NodeProps,
cloneOptions?: { preserveChainConnections?: boolean },
): Omit<DiscordV2<C, L>, "id"> & Node<Id, C>
clone<Id extends string>(
id: Id,
props?: NodeProps,
cloneOptions?: { preserveChainConnections?: boolean },
): Omit<DiscordV2<C, L>, "id"> & Node<Id, C>
Creates a deep copy of this node with a new ID and optional property overrides
Source§getCredentials(): (
| undefined
| Credentials<DiscordBotApiCredentials>
| Credentials<DiscordOAuth2ApiCredentials>
| Credentials<DiscordWebhookApiCredentials>
)[]
getCredentials(): (
| undefined
| Credentials<DiscordBotApiCredentials>
| Credentials<DiscordOAuth2ApiCredentials>
| Credentials<DiscordWebhookApiCredentials>
)[]
Returns the credentials required by this node
Source§listOutgoing(): IChainable<string, any>[]
listOutgoing(): IChainable<string, any>[]
Returns all states that are connected as next states from this state
Sends data to Discord