UNPKG

n8n-nodes-discord

Version:

nodes to trigger workflows from Discord or send interactive messages. Uses the components API which allows to create dialogs (e.g. attach buttons and wait for the user to click on them)

43 lines 1.42 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DiscordApi = void 0; class DiscordApi { constructor() { this.name = 'discordApi'; this.displayName = 'Discord App'; this.documentationUrl = 'https://github.com/hckdotng/n8n-nodes-discord'; this.properties = [ { displayName: 'Client ID', name: 'clientId', description: 'The OAuth2 client ID of the Discord App', type: 'string', default: '', }, { displayName: 'Bot Token', name: 'token', description: 'The bot token of the Discord App', type: 'string', default: '', }, { displayName: 'n8n API key', name: 'apiKey', description: 'The API key of the n8n server', type: 'string', default: '', }, { displayName: 'Base URL', name: 'baseUrl', description: 'The API URL of the n8n instance', type: 'string', default: '', placeholder: 'https://n8n.example.com/api/v1', }, ]; } } exports.DiscordApi = DiscordApi; //# sourceMappingURL=DiscordApi.credentials.js.map