UNPKG

n8n-nodes-discord-trigger

Version:

A node that triggers a workflow whenever a message from discord is sent.

32 lines (31 loc) 635 B
import { Client } from 'discord.js'; declare const settings: { ready: boolean; login: boolean; testMode: boolean; clientId: string; token: string; baseUrl: string; parameters: any; readyClients: { [token: string]: boolean; }; loginQueue: { [token: string]: boolean; }; clientMap: { [token: string]: Client; }; credentials: { [token: string]: { token: string; clientId: string; }; }; triggerNodes: { [token: string]: { [nodeId: string]: any; }; }; }; export default settings;