n8n-nodes-discord-dnd
Version:
n8n node to create triggers for Discord events
51 lines • 2.4 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.ActionEventType = exports.ActionType = exports.TriggerType = exports.PatternType = void 0;
var PatternType;
(function (PatternType) {
PatternType["BOT_MENTION"] = "botMention";
PatternType["CONTAINS"] = "contains";
PatternType["STARTS_WITH"] = "startsWith";
PatternType["ENDS_WITH"] = "endsWith";
PatternType["EQUALS"] = "equals";
PatternType["REGEX"] = "regex";
PatternType["EVERY"] = "every";
})(PatternType = exports.PatternType || (exports.PatternType = {}));
var TriggerType;
(function (TriggerType) {
TriggerType["MESSAGE"] = "message";
TriggerType["GUILD"] = "guild";
TriggerType["MODERATION"] = "moderation";
TriggerType["EMOJI_STICKER"] = "emojiSticker";
TriggerType["INTEGRATION_WEBHOOK"] = "integrationWebhook";
TriggerType["INVITE"] = "invite";
TriggerType["VOICE"] = "voice";
TriggerType["PRESENCE"] = "presence";
TriggerType["SCHEDULED_EVENT"] = "scheduledEvent";
TriggerType["INTERACTION"] = "interaction";
TriggerType["BOT_STATUS"] = "botStatus";
TriggerType["USER"] = "user";
TriggerType["AUTO_MODERATION"] = "autoModeration";
TriggerType["POLL"] = "poll";
})(TriggerType = exports.TriggerType || (exports.TriggerType = {}));
var ActionType;
(function (ActionType) {
ActionType["MESSAGE"] = "message";
})(ActionType = exports.ActionType || (exports.ActionType = {}));
var ActionEventType;
(function (ActionEventType) {
ActionEventType["SEND_TYPING"] = "sendTyping";
ActionEventType["SEND_MESSAGE"] = "sendMessage";
ActionEventType["DELETE_MESSAGE"] = "deleteMessage";
ActionEventType["EDIT_MESSAGE"] = "editMessage";
ActionEventType["REACT_TO_MESSAGE"] = "reactToMessage";
ActionEventType["REMOVE_REACTION"] = "removeReaction";
ActionEventType["PIN_MESSAGE"] = "pinMessage";
ActionEventType["UNPIN_MESSAGE"] = "unpinMessage";
ActionEventType["ADD_REACTION"] = "addReaction";
ActionEventType["REMOVE_REACTION_EMOJI"] = "removeReactionEmoji";
ActionEventType["DELETE_REACTION_EMOJI"] = "deleteReactionEmoji";
ActionEventType["DELETE_ALL_REACTIONS"] = "deleteAllReactions";
ActionEventType["DELETE_ALL_REACTIONS_EMOJI"] = "deleteAllReactionsEmoji";
})(ActionEventType = exports.ActionEventType || (exports.ActionEventType = {}));
//# sourceMappingURL=types.js.map
;