n8n-nodes-discord-dnd 0.1.10 → 0.1.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nodes/src/discord-trigger/index.d.ts +0 -1
- package/dist/nodes/src/discord-trigger/index.js +10 -56
- package/dist/nodes/src/discord-trigger/index.js.map +1 -1
- package/dist/nodes/src/discord-trigger/node-description.d.ts +1 -1
- package/dist/nodes/src/discord-trigger/node-description.js +213 -237
- package/dist/nodes/src/discord-trigger/node-description.js.map +1 -1
- package/package.json +1 -1
@@ -8,7 +8,6 @@ export declare class DiscordTrigger implements INodeType {
|
|
8
8
|
methods: {
|
9
9
|
loadOptions: {
|
10
10
|
getServers(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
11
|
-
getEvents(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]>;
|
12
11
|
};
|
13
12
|
};
|
14
13
|
trigger(this: ITriggerFunctions): Promise<ITriggerResponse>;
|
@@ -32,67 +32,17 @@ class DiscordTrigger {
|
|
32
32
|
client.destroy();
|
33
33
|
return servers;
|
34
34
|
},
|
35
|
-
async getEvents() {
|
36
|
-
const resource = this.getCurrentNodeParameter('resource');
|
37
|
-
// Map of Discord events by resource
|
38
|
-
const eventMap = {
|
39
|
-
guild: [
|
40
|
-
{ name: 'Guild Create', value: 'guildCreate', description: 'Bot joins a guild' },
|
41
|
-
{ name: 'Guild Update', value: 'guildUpdate', description: 'Guild is updated' },
|
42
|
-
{ name: 'Guild Delete', value: 'guildDelete', description: 'Bot removed from a guild' },
|
43
|
-
],
|
44
|
-
member: [
|
45
|
-
{ name: 'Guild Member Add', value: 'guildMemberAdd', description: 'User joins a guild' },
|
46
|
-
{ name: 'Guild Member Remove', value: 'guildMemberRemove', description: 'User leaves a guild' },
|
47
|
-
{ name: 'Guild Member Update', value: 'guildMemberUpdate', description: 'Member is updated' },
|
48
|
-
],
|
49
|
-
message: [
|
50
|
-
{ name: 'Message Create', value: 'messageCreate', description: 'Message is created' },
|
51
|
-
{ name: 'Message Update', value: 'messageUpdate', description: 'Message is updated' },
|
52
|
-
{ name: 'Message Delete', value: 'messageDelete', description: 'Message is deleted' },
|
53
|
-
],
|
54
|
-
channel: [
|
55
|
-
{ name: 'Channel Create', value: 'channelCreate', description: 'Channel is created' },
|
56
|
-
{ name: 'Channel Update', value: 'channelUpdate', description: 'Channel is updated' },
|
57
|
-
{ name: 'Channel Delete', value: 'channelDelete', description: 'Channel is deleted' },
|
58
|
-
],
|
59
|
-
reaction: [
|
60
|
-
{ name: 'Message Reaction Add', value: 'messageReactionAdd', description: 'Reaction is added to a message' },
|
61
|
-
{ name: 'Message Reaction Remove', value: 'messageReactionRemove', description: 'Reaction is removed from a message' },
|
62
|
-
],
|
63
|
-
role: [
|
64
|
-
{ name: 'Role Create', value: 'roleCreate', description: 'Role is created' },
|
65
|
-
{ name: 'Role Update', value: 'roleUpdate', description: 'Role is updated' },
|
66
|
-
{ name: 'Role Delete', value: 'roleDelete', description: 'Role is deleted' },
|
67
|
-
],
|
68
|
-
invite: [
|
69
|
-
{ name: 'Invite Create', value: 'inviteCreate', description: 'Invite is created' },
|
70
|
-
{ name: 'Invite Delete', value: 'inviteDelete', description: 'Invite is deleted' },
|
71
|
-
],
|
72
|
-
voice: [
|
73
|
-
{ name: 'Voice State Update', value: 'voiceStateUpdate', description: 'User voice state changes' },
|
74
|
-
],
|
75
|
-
presence: [
|
76
|
-
{ name: 'Presence Update', value: 'presenceUpdate', description: 'User presence is updated' },
|
77
|
-
],
|
78
|
-
other: [
|
79
|
-
{ name: 'Interaction Create', value: 'interactionCreate', description: 'Interaction is created (slash command, button, etc.)' },
|
80
|
-
],
|
81
|
-
};
|
82
|
-
return eventMap[resource] || [];
|
83
|
-
},
|
84
35
|
},
|
85
36
|
};
|
86
37
|
}
|
87
38
|
async trigger() {
|
88
39
|
const credentials = await this.getCredentials('discordApi');
|
89
|
-
//
|
90
|
-
const resource = this.getNodeParameter('resource', 'message');
|
91
|
-
const event = this.getNodeParameter('event', 'messageCreate');
|
92
|
-
// Extract other parameters as before
|
40
|
+
// Extract parameters from node configuration
|
93
41
|
const parameters = {
|
42
|
+
// Get core parameters
|
94
43
|
triggerType: this.getNodeParameter('triggerType', 'messageContent'),
|
95
44
|
includeBotMessages: this.getNodeParameter('includeBotMessages', false),
|
45
|
+
// Get filter parameters
|
96
46
|
filterByServers: this.getNodeParameter('filterByServers', false),
|
97
47
|
serverIds: [],
|
98
48
|
filterByChannels: this.getNodeParameter('filterByChannels', false),
|
@@ -146,15 +96,19 @@ class DiscordTrigger {
|
|
146
96
|
else if (parameters.triggerType === 'botInteraction') {
|
147
97
|
parameters.interactionType = this.getNodeParameter('interactionType', 'botMentioned');
|
148
98
|
}
|
149
|
-
// Initialize Discord client
|
99
|
+
// Initialize Discord client and set up event handlers
|
150
100
|
const client = await (0, client_1.initializeDiscordClient)(credentials.botToken);
|
101
|
+
// Set up response data with manual trigger function
|
151
102
|
const responseData = {
|
152
103
|
manualTriggerFunction: async () => {
|
104
|
+
// This function will be executed when the workflow is manually triggered
|
105
|
+
// Don't need to do anything here as we only want the workflow to be triggered by Discord events
|
153
106
|
return;
|
154
107
|
},
|
155
108
|
};
|
156
|
-
//
|
157
|
-
(0, event_handlers_1.
|
109
|
+
// Set up message event handler
|
110
|
+
(0, event_handlers_1.setupMessageEventHandler)(client, this, parameters);
|
111
|
+
// Function to clean up when node is deactivated
|
158
112
|
const closeFunction = async () => {
|
159
113
|
console.log('Disconnecting from Discord...');
|
160
114
|
client.destroy();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/src/discord-trigger/index.ts"],"names":[],"mappings":";;;AAQA,qCAAmD;AACnD,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/src/discord-trigger/index.ts"],"names":[],"mappings":";;;AAQA,qCAAmD;AACnD,qDAA4D;AAC5D,yDAAqD;AAIrD;;;GAGG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AAI,EAAE;gBAChC,yEAAyE;gBACzE,gGAAgG;gBAChG,OAAO;YACT,CAAC;SACF,CAAC;QAEF,+BAA+B;QAC/B,IAAA,yCAAwB,EAAC,MAAM,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC;QAEnD,gDAAgD;QAChD,MAAM,aAAa,GAAG,KAAK,IAAI,EAAE;YAC/B,OAAO,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAC;YAC7C,MAAM,CAAC,OAAO,EAAE,CAAC;QACnB,CAAC,CAAC;QAEF,OAAO;YACL,GAAG,YAAY;YACf,aAAa;SACd,CAAC;IACJ,CAAC;CACF;AA3HD,wCA2HC"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
import { INodeTypeDescription } from
|
1
|
+
import { INodeTypeDescription } from "n8n-workflow";
|
2
2
|
export declare const nodeDescription: INodeTypeDescription;
|
@@ -2,241 +2,257 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.nodeDescription = void 0;
|
4
4
|
exports.nodeDescription = {
|
5
|
-
displayName:
|
6
|
-
name:
|
7
|
-
icon:
|
8
|
-
group: [
|
5
|
+
displayName: "Discord Trigger",
|
6
|
+
name: "discordTrigger",
|
7
|
+
icon: "file:discord.svg",
|
8
|
+
group: ["trigger"],
|
9
9
|
version: 1,
|
10
|
-
description:
|
11
|
-
defaults: {
|
12
|
-
name: 'Discord Trigger',
|
13
|
-
},
|
10
|
+
description: "Starts the workflow when Discord events occur",
|
11
|
+
defaults: { name: "Discord Trigger", color: "#7289DA" },
|
14
12
|
inputs: [],
|
15
|
-
outputs: [
|
13
|
+
outputs: ["main"],
|
16
14
|
credentials: [
|
17
15
|
{
|
18
|
-
name:
|
16
|
+
name: "discordApi",
|
19
17
|
required: true,
|
20
18
|
},
|
21
19
|
],
|
22
20
|
properties: [
|
23
21
|
{
|
24
|
-
displayName:
|
25
|
-
name:
|
26
|
-
type:
|
22
|
+
displayName: "Resource",
|
23
|
+
name: "resource",
|
24
|
+
type: "options",
|
27
25
|
options: [
|
28
|
-
{ name:
|
29
|
-
{ name:
|
30
|
-
{ name:
|
31
|
-
{ name:
|
32
|
-
{ name:
|
33
|
-
{ name:
|
34
|
-
{ name:
|
35
|
-
{ name:
|
36
|
-
{ name:
|
37
|
-
{ name:
|
26
|
+
{ name: "Guild", value: "guild" },
|
27
|
+
{ name: "Member", value: "member" },
|
28
|
+
{ name: "Message", value: "message" },
|
29
|
+
{ name: "Moderation", value: "moderation" },
|
30
|
+
{ name: "Emoji & Sticker", value: "emojiSticker" },
|
31
|
+
{ name: "Integration & Webhook", value: "integrationWebhook" },
|
32
|
+
{ name: "Invite", value: "invite" },
|
33
|
+
{ name: "Voice", value: "voice" },
|
34
|
+
{ name: "Presence", value: "presence" },
|
35
|
+
{ name: "Scheduled Event", value: "scheduledEvent" },
|
36
|
+
{ name: "Interaction", value: "interaction" },
|
37
|
+
{ name: "Bot Status", value: "botStatus" },
|
38
|
+
{ name: "User", value: "user" },
|
39
|
+
{ name: "Auto Moderation", value: "autoModeration" },
|
40
|
+
{ name: "Poll", value: "poll" },
|
41
|
+
{ name: "Other", value: "other" },
|
38
42
|
],
|
39
|
-
default:
|
43
|
+
default: "message",
|
40
44
|
required: true,
|
41
|
-
description:
|
45
|
+
description: "The Discord resource to listen for events on",
|
42
46
|
},
|
43
47
|
{
|
44
|
-
displayName:
|
45
|
-
name:
|
46
|
-
type:
|
47
|
-
|
48
|
-
|
49
|
-
},
|
50
|
-
default: 'messageCreate',
|
48
|
+
displayName: "Event",
|
49
|
+
name: "event",
|
50
|
+
type: "options",
|
51
|
+
default: "",
|
52
|
+
description: "The Discord event to trigger on",
|
51
53
|
required: true,
|
52
|
-
description: 'The Discord event to trigger on',
|
53
|
-
displayOptions: {
|
54
|
-
show: {
|
55
|
-
resource: [
|
56
|
-
'guild', 'member', 'message', 'channel', 'reaction', 'role', 'invite', 'voice', 'presence', 'other',
|
57
|
-
],
|
58
|
-
},
|
59
|
-
},
|
60
|
-
},
|
61
|
-
{
|
62
|
-
displayName: 'Trigger Type',
|
63
|
-
name: 'triggerType',
|
64
|
-
type: 'options',
|
65
54
|
options: [
|
55
|
+
// Guild
|
66
56
|
{
|
67
|
-
name:
|
68
|
-
value:
|
69
|
-
|
57
|
+
name: "Channel Create",
|
58
|
+
value: "channelCreate",
|
59
|
+
displayOptions: { show: { resource: ["guild"] } },
|
70
60
|
},
|
71
61
|
{
|
72
|
-
name:
|
73
|
-
value:
|
74
|
-
|
62
|
+
name: "Channel Delete",
|
63
|
+
value: "channelDelete",
|
64
|
+
displayOptions: { show: { resource: ["guild"] } },
|
75
65
|
},
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
// Bot Interaction Options
|
81
|
-
{
|
82
|
-
displayName: 'Interaction Type',
|
83
|
-
name: 'interactionType',
|
84
|
-
type: 'options',
|
85
|
-
displayOptions: {
|
86
|
-
show: {
|
87
|
-
triggerType: ['botInteraction'],
|
66
|
+
{
|
67
|
+
name: "Channel Pins Update",
|
68
|
+
value: "channelPinsUpdate",
|
69
|
+
displayOptions: { show: { resource: ["guild"] } },
|
88
70
|
},
|
89
|
-
},
|
90
|
-
options: [
|
91
71
|
{
|
92
|
-
name:
|
93
|
-
value:
|
94
|
-
|
72
|
+
name: "Channel Update",
|
73
|
+
value: "channelUpdate",
|
74
|
+
displayOptions: { show: { resource: ["guild"] } },
|
95
75
|
},
|
96
76
|
{
|
97
|
-
name:
|
98
|
-
value:
|
99
|
-
|
77
|
+
name: "Guild Create",
|
78
|
+
value: "guildCreate",
|
79
|
+
displayOptions: { show: { resource: ["guild"] } },
|
100
80
|
},
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
// Message Content Options
|
106
|
-
{
|
107
|
-
displayName: 'Match Pattern',
|
108
|
-
name: 'matchPattern',
|
109
|
-
type: 'options',
|
110
|
-
displayOptions: {
|
111
|
-
show: {
|
112
|
-
triggerType: ['messageContent'],
|
81
|
+
{
|
82
|
+
name: "Guild Delete",
|
83
|
+
value: "guildDelete",
|
84
|
+
displayOptions: { show: { resource: ["guild"] } },
|
113
85
|
},
|
114
|
-
},
|
115
|
-
options: [
|
116
86
|
{
|
117
|
-
name:
|
118
|
-
value:
|
119
|
-
|
87
|
+
name: "Guild Update",
|
88
|
+
value: "guildUpdate",
|
89
|
+
displayOptions: { show: { resource: ["guild"] } },
|
120
90
|
},
|
121
91
|
{
|
122
|
-
name:
|
123
|
-
value:
|
124
|
-
|
92
|
+
name: "Guild Unavailable",
|
93
|
+
value: "guildUnavailable",
|
94
|
+
displayOptions: { show: { resource: ["guild"] } },
|
125
95
|
},
|
126
96
|
{
|
127
|
-
name:
|
128
|
-
value:
|
129
|
-
|
97
|
+
name: "Role Create",
|
98
|
+
value: "roleCreate",
|
99
|
+
displayOptions: { show: { resource: ["guild"] } },
|
130
100
|
},
|
131
101
|
{
|
132
|
-
name:
|
133
|
-
value:
|
134
|
-
|
102
|
+
name: "Role Delete",
|
103
|
+
value: "roleDelete",
|
104
|
+
displayOptions: { show: { resource: ["guild"] } },
|
135
105
|
},
|
136
106
|
{
|
137
|
-
name:
|
138
|
-
value:
|
139
|
-
|
107
|
+
name: "Role Update",
|
108
|
+
value: "roleUpdate",
|
109
|
+
displayOptions: { show: { resource: ["guild"] } },
|
140
110
|
},
|
141
111
|
{
|
142
|
-
name:
|
143
|
-
value:
|
144
|
-
|
112
|
+
name: "Thread Create",
|
113
|
+
value: "threadCreate",
|
114
|
+
displayOptions: { show: { resource: ["guild"] } },
|
145
115
|
},
|
146
116
|
{
|
147
|
-
name:
|
148
|
-
value:
|
149
|
-
|
117
|
+
name: "Thread Delete",
|
118
|
+
value: "threadDelete",
|
119
|
+
displayOptions: { show: { resource: ["guild"] } },
|
150
120
|
},
|
151
121
|
{
|
152
|
-
name:
|
153
|
-
value:
|
154
|
-
|
122
|
+
name: "Thread Update",
|
123
|
+
value: "threadUpdate",
|
124
|
+
displayOptions: { show: { resource: ["guild"] } },
|
155
125
|
},
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
{
|
161
|
-
displayName: 'Value to Match',
|
162
|
-
name: 'matchValue',
|
163
|
-
type: 'string',
|
164
|
-
default: '',
|
165
|
-
description: 'The text value to match in the message',
|
166
|
-
required: true,
|
167
|
-
displayOptions: {
|
168
|
-
show: {
|
169
|
-
triggerType: ['messageContent'],
|
170
|
-
matchPattern: ['contains', 'endsWith', 'equals', 'startsWith'],
|
126
|
+
{
|
127
|
+
name: "Thread List Sync",
|
128
|
+
value: "threadListSync",
|
129
|
+
displayOptions: { show: { resource: ["guild"] } },
|
171
130
|
},
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
name: 'regexPattern',
|
177
|
-
type: 'string',
|
178
|
-
default: '',
|
179
|
-
placeholder: '^\\w+$',
|
180
|
-
description: 'The regular expression to match against the message content',
|
181
|
-
required: true,
|
182
|
-
displayOptions: {
|
183
|
-
show: {
|
184
|
-
triggerType: ['messageContent'],
|
185
|
-
matchPattern: ['regex'],
|
131
|
+
{
|
132
|
+
name: "Thread Member Update",
|
133
|
+
value: "threadMemberUpdate",
|
134
|
+
displayOptions: { show: { resource: ["guild"] } },
|
186
135
|
},
|
187
|
-
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
name: 'caseSensitive',
|
192
|
-
type: 'boolean',
|
193
|
-
default: false,
|
194
|
-
description: 'Whether the matching should be case sensitive',
|
195
|
-
displayOptions: {
|
196
|
-
show: {
|
197
|
-
triggerType: ['messageContent'],
|
198
|
-
matchPattern: ['contains', 'endsWith', 'equals', 'startsWith'],
|
136
|
+
{
|
137
|
+
name: "Thread Members Update",
|
138
|
+
value: "threadMembersUpdate",
|
139
|
+
displayOptions: { show: { resource: ["guild"] } },
|
199
140
|
},
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
141
|
+
{
|
142
|
+
name: "Stage Instance Create",
|
143
|
+
value: "stageInstanceCreate",
|
144
|
+
displayOptions: { show: { resource: ["guild"] } },
|
145
|
+
},
|
146
|
+
{
|
147
|
+
name: "Stage Instance Delete",
|
148
|
+
value: "stageInstanceDelete",
|
149
|
+
displayOptions: { show: { resource: ["guild"] } },
|
150
|
+
},
|
151
|
+
{
|
152
|
+
name: "Stage Instance Update",
|
153
|
+
value: "stageInstanceUpdate",
|
154
|
+
displayOptions: { show: { resource: ["guild"] } },
|
155
|
+
},
|
156
|
+
// Member
|
157
|
+
{
|
158
|
+
name: "Guild Member Add",
|
159
|
+
value: "guildMemberAdd",
|
160
|
+
displayOptions: { show: { resource: ["member"] } },
|
161
|
+
},
|
162
|
+
{
|
163
|
+
name: "Guild Member Remove",
|
164
|
+
value: "guildMemberRemove",
|
165
|
+
displayOptions: { show: { resource: ["member"] } },
|
166
|
+
},
|
167
|
+
{
|
168
|
+
name: "Guild Member Update",
|
169
|
+
value: "guildMemberUpdate",
|
170
|
+
displayOptions: { show: { resource: ["member"] } },
|
171
|
+
},
|
172
|
+
{
|
173
|
+
name: "Guild Members Chunk",
|
174
|
+
value: "guildMembersChunk",
|
175
|
+
displayOptions: { show: { resource: ["member"] } },
|
176
|
+
},
|
177
|
+
// Message
|
178
|
+
{
|
179
|
+
name: "Message Create",
|
180
|
+
value: "messageCreate",
|
181
|
+
displayOptions: { show: { resource: ["message"] } },
|
182
|
+
},
|
183
|
+
{
|
184
|
+
name: "Message Update",
|
185
|
+
value: "messageUpdate",
|
186
|
+
displayOptions: { show: { resource: ["message"] } },
|
187
|
+
},
|
188
|
+
{
|
189
|
+
name: "Message Delete",
|
190
|
+
value: "messageDelete",
|
191
|
+
displayOptions: { show: { resource: ["message"] } },
|
192
|
+
},
|
193
|
+
{
|
194
|
+
name: "Message Delete Bulk",
|
195
|
+
value: "messageDeleteBulk",
|
196
|
+
displayOptions: { show: { resource: ["message"] } },
|
197
|
+
},
|
198
|
+
{
|
199
|
+
name: "Message Reaction Add",
|
200
|
+
value: "messageReactionAdd",
|
201
|
+
displayOptions: { show: { resource: ["message"] } },
|
202
|
+
},
|
203
|
+
{
|
204
|
+
name: "Message Reaction Remove",
|
205
|
+
value: "messageReactionRemove",
|
206
|
+
displayOptions: { show: { resource: ["message"] } },
|
207
|
+
},
|
208
|
+
{
|
209
|
+
name: "Message Reaction Remove All",
|
210
|
+
value: "messageReactionRemoveAll",
|
211
|
+
displayOptions: { show: { resource: ["message"] } },
|
212
|
+
},
|
213
|
+
{
|
214
|
+
name: "Message Reaction Remove Emoji",
|
215
|
+
value: "messageReactionRemoveEmoji",
|
216
|
+
displayOptions: { show: { resource: ["message"] } },
|
217
|
+
},
|
218
|
+
{
|
219
|
+
name: "Typing Start",
|
220
|
+
value: "typingStart",
|
221
|
+
displayOptions: { show: { resource: ["message"] } },
|
222
|
+
},
|
223
|
+
// ... Add similar entries for Moderation, Emoji & Sticker, etc.
|
224
|
+
],
|
209
225
|
},
|
210
226
|
{
|
211
|
-
displayName:
|
212
|
-
name:
|
213
|
-
type:
|
227
|
+
displayName: "Filter by Servers",
|
228
|
+
name: "filterByServers",
|
229
|
+
type: "boolean",
|
214
230
|
default: false,
|
215
|
-
description:
|
231
|
+
description: "Whether to filter messages by specific servers",
|
216
232
|
},
|
217
233
|
{
|
218
|
-
displayName:
|
219
|
-
name:
|
220
|
-
type:
|
234
|
+
displayName: "Server Filter Method",
|
235
|
+
name: "serverFilterMethod",
|
236
|
+
type: "options",
|
221
237
|
options: [
|
222
238
|
{
|
223
|
-
name:
|
224
|
-
value:
|
225
|
-
description:
|
239
|
+
name: "From List",
|
240
|
+
value: "fromList",
|
241
|
+
description: "Select from servers the bot has joined",
|
226
242
|
},
|
227
243
|
{
|
228
|
-
name:
|
229
|
-
value:
|
230
|
-
description:
|
244
|
+
name: "By URL",
|
245
|
+
value: "byUrl",
|
246
|
+
description: "Filter by Discord server URL",
|
231
247
|
},
|
232
248
|
{
|
233
|
-
name:
|
234
|
-
value:
|
235
|
-
description:
|
249
|
+
name: "By ID",
|
250
|
+
value: "byId",
|
251
|
+
description: "Filter by server ID",
|
236
252
|
},
|
237
253
|
],
|
238
|
-
default:
|
239
|
-
description:
|
254
|
+
default: "fromList",
|
255
|
+
description: "Method to filter servers",
|
240
256
|
displayOptions: {
|
241
257
|
show: {
|
242
258
|
filterByServers: [true],
|
@@ -244,88 +260,48 @@ exports.nodeDescription = {
|
|
244
260
|
},
|
245
261
|
},
|
246
262
|
{
|
247
|
-
displayName:
|
248
|
-
name:
|
249
|
-
type:
|
250
|
-
default:
|
251
|
-
description:
|
263
|
+
displayName: "Server URL",
|
264
|
+
name: "serverUrl",
|
265
|
+
type: "string",
|
266
|
+
default: "",
|
267
|
+
description: "Discord server URL (e.g: https://discord.com/channels/820342303745900635)",
|
252
268
|
displayOptions: {
|
253
269
|
show: {
|
254
270
|
filterByServers: [true],
|
255
|
-
serverFilterMethod: [
|
271
|
+
serverFilterMethod: ["byUrl"],
|
256
272
|
},
|
257
273
|
},
|
258
|
-
placeholder:
|
274
|
+
placeholder: "https://discord.com/channels/820342303745900635",
|
259
275
|
},
|
260
276
|
{
|
261
|
-
displayName:
|
262
|
-
name:
|
263
|
-
type:
|
264
|
-
default:
|
265
|
-
description:
|
277
|
+
displayName: "Server ID",
|
278
|
+
name: "serverId",
|
279
|
+
type: "string",
|
280
|
+
default: "",
|
281
|
+
description: "Discord server ID",
|
266
282
|
displayOptions: {
|
267
283
|
show: {
|
268
284
|
filterByServers: [true],
|
269
|
-
serverFilterMethod: [
|
285
|
+
serverFilterMethod: ["byId"],
|
270
286
|
},
|
271
287
|
},
|
272
|
-
placeholder:
|
288
|
+
placeholder: "820342303745900635",
|
273
289
|
},
|
274
290
|
{
|
275
|
-
displayName:
|
276
|
-
name:
|
277
|
-
type:
|
291
|
+
displayName: "Server List",
|
292
|
+
name: "serverIds",
|
293
|
+
type: "multiOptions",
|
278
294
|
typeOptions: {
|
279
|
-
loadOptionsMethod:
|
295
|
+
loadOptionsMethod: "getServers",
|
280
296
|
},
|
281
297
|
default: [],
|
282
|
-
description:
|
298
|
+
description: "Select servers from the list",
|
283
299
|
displayOptions: {
|
284
300
|
show: {
|
285
301
|
filterByServers: [true],
|
286
|
-
serverFilterMethod: [
|
287
|
-
},
|
288
|
-
},
|
289
|
-
},
|
290
|
-
{
|
291
|
-
displayName: 'Filter by Channels',
|
292
|
-
name: 'filterByChannels',
|
293
|
-
type: 'boolean',
|
294
|
-
default: false,
|
295
|
-
description: 'Whether to filter messages by specific channels',
|
296
|
-
},
|
297
|
-
{
|
298
|
-
displayName: 'Listen to Channels',
|
299
|
-
name: 'channelIds',
|
300
|
-
type: 'string',
|
301
|
-
default: '',
|
302
|
-
description: 'Comma-separated list of channel names or IDs to listen to (empty for all channels)',
|
303
|
-
displayOptions: {
|
304
|
-
show: {
|
305
|
-
filterByChannels: [true],
|
306
|
-
},
|
307
|
-
},
|
308
|
-
placeholder: 'general, 1234567890123456',
|
309
|
-
},
|
310
|
-
{
|
311
|
-
displayName: 'Filter by Roles',
|
312
|
-
name: 'filterByRoles',
|
313
|
-
type: 'boolean',
|
314
|
-
default: false,
|
315
|
-
description: 'Whether to filter messages by user roles',
|
316
|
-
},
|
317
|
-
{
|
318
|
-
displayName: 'Listen to Roles',
|
319
|
-
name: 'roleIds',
|
320
|
-
type: 'string',
|
321
|
-
default: '',
|
322
|
-
description: 'Comma-separated list of role names or IDs to listen to (empty for all roles)',
|
323
|
-
displayOptions: {
|
324
|
-
show: {
|
325
|
-
filterByRoles: [true],
|
302
|
+
serverFilterMethod: ["fromList"],
|
326
303
|
},
|
327
304
|
},
|
328
|
-
placeholder: 'admin, 1234567890123456',
|
329
305
|
},
|
330
306
|
],
|
331
307
|
};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"node-description.js","sourceRoot":"","sources":["../../../../nodes/src/discord-trigger/node-description.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAyB;IACnD,WAAW,EAAE,iBAAiB;IAC9B,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE,CAAC,SAAS,CAAC;IAClB,OAAO,EAAE,CAAC;IACV,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE
|
1
|
+
{"version":3,"file":"node-description.js","sourceRoot":"","sources":["../../../../nodes/src/discord-trigger/node-description.ts"],"names":[],"mappings":";;;AAEa,QAAA,eAAe,GAAyB;IACnD,WAAW,EAAE,iBAAiB;IAC9B,IAAI,EAAE,gBAAgB;IACtB,IAAI,EAAE,kBAAkB;IACxB,KAAK,EAAE,CAAC,SAAS,CAAC;IAClB,OAAO,EAAE,CAAC;IACV,WAAW,EAAE,+CAA+C;IAC5D,QAAQ,EAAE,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,SAAS,EAAE;IACvD,MAAM,EAAE,EAAE;IACV,OAAO,EAAE,CAAC,MAAM,CAAC;IACjB,WAAW,EAAE;QACX;YACE,IAAI,EAAE,YAAY;YAClB,QAAQ,EAAE,IAAI;SACf;KACF;IACD,UAAU,EAAE;QACV;YACE,WAAW,EAAE,UAAU;YACvB,IAAI,EAAE,UAAU;YAChB,IAAI,EAAE,SAAS;YACf,OAAO,EAAE;gBACP,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;gBACjC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;gBACnC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;gBACrC,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE;gBAC3C,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,cAAc,EAAE;gBAClD,EAAE,IAAI,EAAE,uBAAuB,EAAE,KAAK,EAAE,oBAAoB,EAAE;gBAC9D,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;gBACnC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EA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