n8n-nodes-discord-dnd 0.1.22 → 0.1.24
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.
@@ -43,6 +43,7 @@ exports.nodeDescription = {
|
|
43
43
|
{ name: "User", value: "user" },
|
44
44
|
{ name: "Auto Moderation", value: "autoModeration" },
|
45
45
|
{ name: "Poll", value: "poll" },
|
46
|
+
{ name: "Other", value: "other" },
|
46
47
|
],
|
47
48
|
},
|
48
49
|
{
|
@@ -53,175 +54,30 @@ exports.nodeDescription = {
|
|
53
54
|
default: "",
|
54
55
|
description: "The specific Discord event to listen for",
|
55
56
|
options: [
|
56
|
-
// Guild
|
57
57
|
{
|
58
|
-
|
59
|
-
|
60
|
-
|
58
|
+
displayName: "Channel Create",
|
59
|
+
name: "channelCreate",
|
60
|
+
type: "options",
|
61
|
+
default: "channelCreate",
|
62
|
+
description: "Triggered when a channel is created",
|
63
|
+
displayOptions: {
|
64
|
+
show: {
|
65
|
+
resource: ["guild"],
|
66
|
+
},
|
67
|
+
},
|
68
|
+
},
|
69
|
+
{
|
70
|
+
displayName: "Message Create",
|
71
|
+
name: "messageCreate",
|
72
|
+
type: "options",
|
73
|
+
default: "messageCreate",
|
74
|
+
description: "Triggered when a message is created",
|
75
|
+
displayOptions: {
|
76
|
+
show: {
|
77
|
+
resource: ["message"],
|
78
|
+
},
|
79
|
+
},
|
61
80
|
},
|
62
|
-
{
|
63
|
-
name: "Channel Delete",
|
64
|
-
value: "channelDelete",
|
65
|
-
displayOptions: { show: { resource: ["guild"] } },
|
66
|
-
},
|
67
|
-
{
|
68
|
-
name: "Channel Pins Update",
|
69
|
-
value: "channelPinsUpdate",
|
70
|
-
displayOptions: { show: { resource: ["guild"] } },
|
71
|
-
},
|
72
|
-
{
|
73
|
-
name: "Channel Update",
|
74
|
-
value: "channelUpdate",
|
75
|
-
displayOptions: { show: { resource: ["guild"] } },
|
76
|
-
},
|
77
|
-
{
|
78
|
-
name: "Guild Create",
|
79
|
-
value: "guildCreate",
|
80
|
-
displayOptions: { show: { resource: ["guild"] } },
|
81
|
-
},
|
82
|
-
{
|
83
|
-
name: "Guild Delete",
|
84
|
-
value: "guildDelete",
|
85
|
-
displayOptions: { show: { resource: ["guild"] } },
|
86
|
-
},
|
87
|
-
{
|
88
|
-
name: "Guild Update",
|
89
|
-
value: "guildUpdate",
|
90
|
-
displayOptions: { show: { resource: ["guild"] } },
|
91
|
-
},
|
92
|
-
{
|
93
|
-
name: "Guild Unavailable",
|
94
|
-
value: "guildUnavailable",
|
95
|
-
displayOptions: { show: { resource: ["guild"] } },
|
96
|
-
},
|
97
|
-
{
|
98
|
-
name: "Role Create",
|
99
|
-
value: "roleCreate",
|
100
|
-
displayOptions: { show: { resource: ["guild"] } },
|
101
|
-
},
|
102
|
-
{
|
103
|
-
name: "Role Delete",
|
104
|
-
value: "roleDelete",
|
105
|
-
displayOptions: { show: { resource: ["guild"] } },
|
106
|
-
},
|
107
|
-
{
|
108
|
-
name: "Role Update",
|
109
|
-
value: "roleUpdate",
|
110
|
-
displayOptions: { show: { resource: ["guild"] } },
|
111
|
-
},
|
112
|
-
{
|
113
|
-
name: "Thread Create",
|
114
|
-
value: "threadCreate",
|
115
|
-
displayOptions: { show: { resource: ["guild"] } },
|
116
|
-
},
|
117
|
-
{
|
118
|
-
name: "Thread Delete",
|
119
|
-
value: "threadDelete",
|
120
|
-
displayOptions: { show: { resource: ["guild"] } },
|
121
|
-
},
|
122
|
-
{
|
123
|
-
name: "Thread Update",
|
124
|
-
value: "threadUpdate",
|
125
|
-
displayOptions: { show: { resource: ["guild"] } },
|
126
|
-
},
|
127
|
-
{
|
128
|
-
name: "Thread List Sync",
|
129
|
-
value: "threadListSync",
|
130
|
-
displayOptions: { show: { resource: ["guild"] } },
|
131
|
-
},
|
132
|
-
{
|
133
|
-
name: "Thread Member Update",
|
134
|
-
value: "threadMemberUpdate",
|
135
|
-
displayOptions: { show: { resource: ["guild"] } },
|
136
|
-
},
|
137
|
-
{
|
138
|
-
name: "Thread Members Update",
|
139
|
-
value: "threadMembersUpdate",
|
140
|
-
displayOptions: { show: { resource: ["guild"] } },
|
141
|
-
},
|
142
|
-
{
|
143
|
-
name: "Stage Instance Create",
|
144
|
-
value: "stageInstanceCreate",
|
145
|
-
displayOptions: { show: { resource: ["guild"] } },
|
146
|
-
},
|
147
|
-
{
|
148
|
-
name: "Stage Instance Delete",
|
149
|
-
value: "stageInstanceDelete",
|
150
|
-
displayOptions: { show: { resource: ["guild"] } },
|
151
|
-
},
|
152
|
-
{
|
153
|
-
name: "Stage Instance Update",
|
154
|
-
value: "stageInstanceUpdate",
|
155
|
-
displayOptions: { show: { resource: ["guild"] } },
|
156
|
-
},
|
157
|
-
// Member
|
158
|
-
{
|
159
|
-
name: "Guild Member Add",
|
160
|
-
value: "guildMemberAdd",
|
161
|
-
displayOptions: { show: { resource: ["member"] } },
|
162
|
-
},
|
163
|
-
{
|
164
|
-
name: "Guild Member Remove",
|
165
|
-
value: "guildMemberRemove",
|
166
|
-
displayOptions: { show: { resource: ["member"] } },
|
167
|
-
},
|
168
|
-
{
|
169
|
-
name: "Guild Member Update",
|
170
|
-
value: "guildMemberUpdate",
|
171
|
-
displayOptions: { show: { resource: ["member"] } },
|
172
|
-
},
|
173
|
-
{
|
174
|
-
name: "Guild Members Chunk",
|
175
|
-
value: "guildMembersChunk",
|
176
|
-
displayOptions: { show: { resource: ["member"] } },
|
177
|
-
},
|
178
|
-
// Message
|
179
|
-
{
|
180
|
-
name: "Message Create",
|
181
|
-
value: "messageCreate",
|
182
|
-
displayOptions: { show: { resource: ["message"] } },
|
183
|
-
},
|
184
|
-
{
|
185
|
-
name: "Message Update",
|
186
|
-
value: "messageUpdate",
|
187
|
-
displayOptions: { show: { resource: ["message"] } },
|
188
|
-
},
|
189
|
-
{
|
190
|
-
name: "Message Delete",
|
191
|
-
value: "messageDelete",
|
192
|
-
displayOptions: { show: { resource: ["message"] } },
|
193
|
-
},
|
194
|
-
{
|
195
|
-
name: "Message Delete Bulk",
|
196
|
-
value: "messageDeleteBulk",
|
197
|
-
displayOptions: { show: { resource: ["message"] } },
|
198
|
-
},
|
199
|
-
{
|
200
|
-
name: "Message Reaction Add",
|
201
|
-
value: "messageReactionAdd",
|
202
|
-
displayOptions: { show: { resource: ["message"] } },
|
203
|
-
},
|
204
|
-
{
|
205
|
-
name: "Message Reaction Remove",
|
206
|
-
value: "messageReactionRemove",
|
207
|
-
displayOptions: { show: { resource: ["message"] } },
|
208
|
-
},
|
209
|
-
{
|
210
|
-
name: "Message Reaction Remove All",
|
211
|
-
value: "messageReactionRemoveAll",
|
212
|
-
displayOptions: { show: { resource: ["message"] } },
|
213
|
-
},
|
214
|
-
{
|
215
|
-
name: "Message Reaction Remove Emoji",
|
216
|
-
value: "messageReactionRemoveEmoji",
|
217
|
-
displayOptions: { show: { resource: ["message"] } },
|
218
|
-
},
|
219
|
-
{
|
220
|
-
name: "Typing Start",
|
221
|
-
value: "typingStart",
|
222
|
-
displayOptions: { show: { resource: ["message"] } },
|
223
|
-
},
|
224
|
-
// ... Add similar entries for Moderation, Emoji & Sticker, etc.
|
225
81
|
],
|
226
82
|
},
|
227
83
|
{
|
@@ -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;QACR,IAAI,EAAE,iBAAiB;KACxB;IACD,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,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,OAAO;YAChB,WAAW,EAAE,yCAAyC;YACtD,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,EAAE,OAAO,EAAE;gBACjC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;gBACvC,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,gBAAgB,EAAE;gBACpD,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,aAAa,EAAE;gBAC7C,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,WAAW,EAAE;gBAC1C,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;gBAC/B,EAAE,IAAI,EAAE,iBAAiB,EAAE,KAAK,EAAE,gBAAgB,EAAE;gBACpD,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;
|
1
|
+
{"version":3,"file":"node-description.js","sourceRoot":"","sources":["../../../../nodes/src/discord-trigger/node-description.ts"],"names":[],"mappings":";;;AAEa,QAAA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