n8n-nodes-discord-dnd
Version:
n8n node to create triggers for Discord events
13 lines (12 loc) • 473 B
TypeScript
import { Client } from "discord.js";
import { IDataObject, IExecuteFunctions } from "n8n-workflow";
export declare class ActionEventHandler {
private readonly client;
private readonly actionInstance;
constructor(client: Client, actionInstance: IExecuteFunctions);
/**
* Fetch all users who have RSVP'd (interested) in a guild scheduled event
*/
private fetchEventInterestedUsers;
setupEventHandler(action: string): Promise<IDataObject>;
}