UNPKG

n8n-nodes-discord-dnd

Version:
13 lines (12 loc) 619 B
import { Client } from "discord.js"; import { ITriggerFunctions } from "n8n-workflow"; export declare class TriggerEventHandler { private readonly client; private readonly triggerInstance; constructor(client: Client, triggerInstance: ITriggerFunctions); setupEventHandler(event: string, includeBot?: boolean, directMessage?: boolean, pattern?: string, value?: string, serverIds?: string[], channelIds?: string[], roleIds?: string[], userIds?: string[]): Promise<void>; private getGuildIdFromEvent; private getChannelIdFromEvent; private getUserIdFromEvent; private getMemberFromEvent; }