@notidotbot/noti-api-client 1.4.0

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.
Files changed (115) hide show
  1. package/cname.js +3 -0
  2. package/dist/classes/@me.d.ts +122 -0
  3. package/dist/classes/@me.js +59 -0
  4. package/dist/classes/admin.d.ts +71 -0
  5. package/dist/classes/admin.js +26 -0
  6. package/dist/classes/client.d.ts +156 -0
  7. package/dist/classes/client.js +116 -0
  8. package/dist/classes/emotes.d.ts +31 -0
  9. package/dist/classes/emotes.js +24 -0
  10. package/dist/classes/files.d.ts +36 -0
  11. package/dist/classes/files.js +36 -0
  12. package/dist/classes/guild.d.ts +187 -0
  13. package/dist/classes/guild.js +140 -0
  14. package/dist/classes/guildDrops.d.ts +58 -0
  15. package/dist/classes/guildDrops.js +32 -0
  16. package/dist/classes/guildGiveaway.d.ts +110 -0
  17. package/dist/classes/guildGiveaway.js +76 -0
  18. package/dist/classes/guildPlatform.d.ts +163 -0
  19. package/dist/classes/guildPlatform.js +99 -0
  20. package/dist/classes/guildPlatformAction.d.ts +67 -0
  21. package/dist/classes/guildPlatformAction.js +26 -0
  22. package/dist/classes/guildStarboard.d.ts +66 -0
  23. package/dist/classes/guildStarboard.js +36 -0
  24. package/dist/classes/linked.d.ts +26 -0
  25. package/dist/classes/linked.js +32 -0
  26. package/dist/classes/other.d.ts +83 -0
  27. package/dist/classes/other.js +53 -0
  28. package/dist/classes/platform.d.ts +227 -0
  29. package/dist/classes/platform.js +30 -0
  30. package/dist/classes/premium.d.ts +179 -0
  31. package/dist/classes/premium.js +76 -0
  32. package/dist/classes/sessions.d.ts +42 -0
  33. package/dist/classes/sessions.js +30 -0
  34. package/dist/classes/teams.d.ts +88 -0
  35. package/dist/classes/teams.js +66 -0
  36. package/dist/classes/telemetry.d.ts +32 -0
  37. package/dist/classes/telemetry.js +28 -0
  38. package/dist/classes/user.d.ts +40 -0
  39. package/dist/classes/user.js +30 -0
  40. package/dist/classes/vods.d.ts +55 -0
  41. package/dist/classes/vods.js +38 -0
  42. package/dist/core/manager.d.ts +57 -0
  43. package/dist/core/manager.js +78 -0
  44. package/dist/core/utils.d.ts +4 -0
  45. package/dist/core/utils.js +26 -0
  46. package/dist/index.d.ts +22 -0
  47. package/dist/index.js +42 -0
  48. package/dist/modules/stripe.d.ts +12 -0
  49. package/dist/modules/stripe.js +18 -0
  50. package/dist/other/bitfields.d.ts +283 -0
  51. package/dist/other/bitfields.js +323 -0
  52. package/dist/other/enums.d.ts +2 -0
  53. package/dist/other/enums.js +10 -0
  54. package/dist/other/prisma.d.ts +76 -0
  55. package/dist/other/prisma.js +9 -0
  56. package/dist/other/templates.d.ts +795 -0
  57. package/dist/other/templates.js +706 -0
  58. package/dist/other/types.d.ts +45 -0
  59. package/dist/other/types.js +17 -0
  60. package/dist/other/utils.d.ts +5 -0
  61. package/dist/other/utils.js +51 -0
  62. package/dist/other/zod/client.zod.d.ts +349 -0
  63. package/dist/other/zod/client.zod.js +63 -0
  64. package/dist/other/zod/drops.zod.d.ts +16 -0
  65. package/dist/other/zod/drops.zod.js +93 -0
  66. package/dist/other/zod/giveaways.zod.d.ts +382 -0
  67. package/dist/other/zod/giveaways.zod.js +72 -0
  68. package/dist/other/zod/guild.zod.d.ts +1638 -0
  69. package/dist/other/zod/guild.zod.js +139 -0
  70. package/dist/other/zod/kickStreamer.zod.d.ts +761 -0
  71. package/dist/other/zod/kickStreamer.zod.js +92 -0
  72. package/dist/other/zod/member.zod.d.ts +22 -0
  73. package/dist/other/zod/member.zod.js +15 -0
  74. package/dist/other/zod/r2Storage.zod.d.ts +56 -0
  75. package/dist/other/zod/r2Storage.zod.js +21 -0
  76. package/dist/other/zod/rumbleStreamer.zod.d.ts +530 -0
  77. package/dist/other/zod/rumbleStreamer.zod.js +45 -0
  78. package/dist/other/zod/schema.zod.d.ts +25 -0
  79. package/dist/other/zod/schema.zod.js +168 -0
  80. package/dist/other/zod/starboard.zod.d.ts +167 -0
  81. package/dist/other/zod/starboard.zod.js +46 -0
  82. package/dist/other/zod/team.zod.d.ts +107 -0
  83. package/dist/other/zod/team.zod.js +30 -0
  84. package/dist/other/zod/tiktokStreamer.zod.d.ts +473 -0
  85. package/dist/other/zod/tiktokStreamer.zod.js +46 -0
  86. package/dist/other/zod/twitchStreamer.zod.d.ts +473 -0
  87. package/dist/other/zod/twitchStreamer.zod.js +46 -0
  88. package/dist/other/zod/user.zod.d.ts +678 -0
  89. package/dist/other/zod/user.zod.js +124 -0
  90. package/dist/other/zod/youtubeStreamer.zod.d.ts +476 -0
  91. package/dist/other/zod/youtubeStreamer.zod.js +47 -0
  92. package/dist/other/zod/zod.d.ts +177 -0
  93. package/dist/other/zod/zod.js +60 -0
  94. package/dist/tsconfig.tsbuildinfo +1 -0
  95. package/dist/types.d.ts +37 -0
  96. package/dist/types.js +2 -0
  97. package/package.json +63 -0
  98. package/prisma/generated/index.ts +25 -0
  99. package/prisma/generated/ts-prisma.d.ts +91725 -0
  100. package/prisma/schema/models/client.prisma +89 -0
  101. package/prisma/schema/models/drops.prisma +167 -0
  102. package/prisma/schema/models/giveaways.prisma +82 -0
  103. package/prisma/schema/models/guild.prisma +368 -0
  104. package/prisma/schema/models/kickStreamer.prisma +202 -0
  105. package/prisma/schema/models/member.prisma +10 -0
  106. package/prisma/schema/models/r2Storage.prisma +22 -0
  107. package/prisma/schema/models/rumbleStreamer.prisma +121 -0
  108. package/prisma/schema/models/starboard.prisma +66 -0
  109. package/prisma/schema/models/team.prisma +38 -0
  110. package/prisma/schema/models/tiktokStreamer.prisma +121 -0
  111. package/prisma/schema/models/twitchStreamer.prisma +122 -0
  112. package/prisma/schema/models/user.prisma +212 -0
  113. package/prisma/schema/models/youtubeStreamer.prisma +123 -0
  114. package/prisma/schema/schema.prisma +182 -0
  115. package/prisma.config.ts +6 -0
@@ -0,0 +1,706 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.messages = exports.statChannels = exports.buttons = exports.randomMessages = exports.placeholders = void 0;
4
+ exports.placeholders = {
5
+ vod: {
6
+ 'streamerName': 'Example',
7
+ 'followers': '239.9K',
8
+ 'category': 'Example Category',
9
+ 'streamTitle': 'Example Stream Title',
10
+ 'streamThumbnail': 'https://example.com',
11
+ 'pingRole': '<@&123456789>',
12
+ 'vodUrl': 'https://example.com',
13
+ 'viewers': '239.9K',
14
+ 'expiresAt': '<t:164099520:R>',
15
+ 'duration': '4h 20m',
16
+ 'startTime': '<t:164099520:R>',
17
+ 'endTime': '<t:164099520:R>',
18
+ 'userAvatar': 'https://example.com',
19
+ 'downloadUrl': 'https://example.com',
20
+ },
21
+ clip: {
22
+ 'streamerName': 'Example',
23
+ 'clipperName': 'Example',
24
+ 'duration': '4h 20m',
25
+ 'kickBotUrl': 'https://example.com',
26
+ 'downloadUrl': 'https://example.com',
27
+ 'clipThumbnail': 'https://example.com',
28
+ 'pingRole': '<@&123456789>',
29
+ 'streamerUrl': 'https://example.com',
30
+ 'clipperUrl': 'https://example.com',
31
+ },
32
+ linkedRole: {
33
+ 'guild': 'Example Guild',
34
+ 'username': 'Example',
35
+ 'userId': '123456789',
36
+ 'userMention': '<@123456789>',
37
+ 'userAvatar': 'https://example.com',
38
+ 'guildMemberCount': '123',
39
+ 'triggeredBy': 'Example',
40
+ 'rolesAdded': 'Example',
41
+ 'rolesRemoved': 'Example',
42
+ },
43
+ stickyMessage: {
44
+ 'guildName': 'Example Guild',
45
+ 'guildMemberCount': '123',
46
+ 'guildId': '123456789',
47
+ 'channelName': 'Example Channel',
48
+ 'channelId': '123456789',
49
+ 'lastTriggerUser': 'Example#1234',
50
+ 'lastTriggerUserId': '123456789',
51
+ 'lastTriggerUserMention': '<@123456789>',
52
+ },
53
+ live: {
54
+ kick: {
55
+ 'platform': 'Kick',
56
+ 'liveUrl': 'https://example.com',
57
+ 'streamerName': 'Example',
58
+ 'viewers': '239.9K',
59
+ 'followers': '239.9K',
60
+ 'category': 'Example Category',
61
+ 'streamTitle': 'Example Stream Title',
62
+ 'streamThumbnail': 'https://example.com',
63
+ 'pingRole': '<@&123456789>',
64
+ 'randomMessage': 'Example Message',
65
+ },
66
+ twitch: {
67
+ 'platform': 'Twitch',
68
+ 'liveUrl': 'https://example.com',
69
+ 'streamerName': 'Example',
70
+ 'viewers': '239.9K',
71
+ 'category': 'Example Category',
72
+ 'streamTitle': 'Example Stream Title',
73
+ 'streamThumbnail': 'https://example.com',
74
+ 'pingRole': '<@&123456789>',
75
+ 'randomMessage': 'Example Message',
76
+ },
77
+ rumble: {
78
+ 'platform': 'Rumble',
79
+ 'liveUrl': 'https://example.com',
80
+ 'streamerName': 'Example',
81
+ 'category': 'Example Category',
82
+ 'streamTitle': 'Example Stream Title',
83
+ 'streamThumbnail': 'https://example.com',
84
+ 'pingRole': '<@&123456789>',
85
+ 'followers': '239879',
86
+ 'viewers': '239.9K',
87
+ 'randomMessage': 'Example Message',
88
+ },
89
+ tiktok: {
90
+ 'platform': 'TikTok',
91
+ 'liveUrl': 'https://example.com',
92
+ 'streamerName': 'Example',
93
+ 'streamTitle': 'Example Stream Title',
94
+ 'streamThumbnail': 'https://example.com',
95
+ 'pingRole': '<@&123456789>',
96
+ 'followers': '239879',
97
+ 'verified': 'Verified / Not Verified',
98
+ 'randomMessage': 'Example Message',
99
+ },
100
+ youtube: {
101
+ 'platform': 'YouTube',
102
+ 'liveUrl': 'https://example.com',
103
+ 'description': 'Example Description',
104
+ 'streamerName': 'Example',
105
+ 'streamTitle': 'Example Stream Title',
106
+ 'streamThumbnail': 'https://example.com',
107
+ 'pingRole': '<@&123456789>',
108
+ 'comments': '239.9K',
109
+ 'likes': '239.9K',
110
+ 'views': '239.9K',
111
+ 'saves': '239.9K',
112
+ 'randomMessage': 'Example Message',
113
+ },
114
+ },
115
+ offline: {
116
+ kick: {
117
+ 'platform': 'Kick',
118
+ 'liveUrl': 'https://example.com',
119
+ 'streamerName': 'Example',
120
+ 'totalViews': '134.5K',
121
+ 'duration': '4h 20m',
122
+ 'streamUrl': 'https://example.com',
123
+ 'streamTitle': 'Example Stream Title',
124
+ 'streamThumbnail': 'https://example.com',
125
+ 'pingRole': '<@&123456789>',
126
+ 'randomMessage': 'Example Message',
127
+ },
128
+ twitch: {
129
+ 'platform': 'Twitch',
130
+ 'liveUrl': 'https://example.com',
131
+ 'streamerName': 'Example',
132
+ 'duration': '4h 20m',
133
+ 'streamTitle': 'Example Stream Title',
134
+ 'streamThumbnail': 'https://example.com',
135
+ 'pingRole': '<@&123456789>',
136
+ 'randomMessage': 'Example Message',
137
+ },
138
+ rumble: {
139
+ 'platform': 'Rumble',
140
+ 'liveUrl': 'https://example.com',
141
+ 'streamerName': 'Example',
142
+ 'duration': '4h 20m',
143
+ 'streamTitle': 'Example Stream Title',
144
+ 'streamThumbnail': 'https://example.com',
145
+ 'pingRole': '<@&123456789>',
146
+ 'followers': '239879',
147
+ 'description': 'Example Description',
148
+ 'randomMessage': 'Example Message',
149
+ },
150
+ tiktok: {
151
+ 'platform': 'TikTok',
152
+ 'liveUrl': 'https://example.com',
153
+ 'streamerName': 'Example',
154
+ 'streamTitle': 'Example Stream Title',
155
+ 'streamThumbnail': 'https://example.com',
156
+ 'duration': '4h 20m',
157
+ 'pingRole': '<@&123456789>',
158
+ 'followers': '239879',
159
+ 'verified': 'Verified / Not Verified',
160
+ 'randomMessage': 'Example Message',
161
+ },
162
+ },
163
+ video: {
164
+ tiktok: {
165
+ 'platform': 'TikTok',
166
+ 'videoUrl': 'https://example.com',
167
+ 'streamerName': 'Example',
168
+ 'pingRole': '<@&123456789>',
169
+ 'category': 'Example Category',
170
+ 'description': 'Example Description',
171
+ 'description.nohastag': 'Example Description',
172
+ 'musicTitle': 'Example Music Title',
173
+ 'musicAuthor': 'Example Music Author',
174
+ 'thumbnail': 'https://example.com',
175
+ 'views': '239.9K',
176
+ 'likes': '239.9K',
177
+ 'shares': '239.9K',
178
+ 'saves': '239.9K',
179
+ 'comments': '239.9K',
180
+ 'duration': '4h 20m',
181
+ 'randomMessage': 'Example Message',
182
+ },
183
+ youtube: {
184
+ 'platform': 'YouTube',
185
+ 'videoUrl': 'https://example.com',
186
+ 'streamerName': 'Example',
187
+ 'pingRole': '<@&123456789>',
188
+ 'description': 'Example Description',
189
+ 'thumbnail': 'https://example.com',
190
+ 'views': '239.9K',
191
+ 'likes': '239.9K',
192
+ 'saves': '239.9K',
193
+ 'comments': '239.9K',
194
+ 'duration': '4h 20m',
195
+ 'randomMessage': 'Example Message',
196
+ },
197
+ },
198
+ birthday: {
199
+ 'username': 'Example',
200
+ 'userMention': '<@123456789>',
201
+ 'userAvatar': 'https://example.com',
202
+ 'userId': '123456789',
203
+ 'guild': 'Example Guild',
204
+ 'birthday': '1st of January',
205
+ 'day': '1',
206
+ 'month.short': 'Jan',
207
+ 'month.long': 'January',
208
+ 'year': '2022',
209
+ },
210
+ giveaway: {
211
+ 'name': 'Example Giveaway',
212
+ 'winners': '1',
213
+ 'ends': '<t:1640995200:R>',
214
+ 'maxEntries': '1',
215
+ 'pingRole': '<@&123456789>',
216
+ 'requirementsList': 'Account created before: <t:1739543645:R>\nMessage count: 1000\nRoles: <@&123456789>, <@&123456789>',
217
+ 'requirementsListPretty': '**〢 Account created before:** <t:1739543645:R>\n**〢 Message count:** 1000\n**〢 Roles:** <@&123456789>, <@&123456789>',
218
+ 'bonusEntriesList': '> <@&123456789>: 1 entry\n> <@&123456789> - 2 entries',
219
+ 'bonusEntriesListPretty': '**〢 <@&123456789>:** 1 entry\n**〢 <@&123456789> - 2 entries**',
220
+ 'entryFilter': 'Whitelisted roles: <@&123456789>, <@&123456789>',
221
+ 'hostMention': '<@123456789>',
222
+ 'doubleVoteActive': '✅ `Double Vote Entry Activated!`',
223
+ 'doubleVoteActiveSeparated': '\n✅ `Double Vote Entry Activated!`\n',
224
+ },
225
+ giveawayEnded: {
226
+ 'name': 'Example Giveaway',
227
+ 'winners': '<@123456789>, <@123456789>',
228
+ 'hostMention': '<@123456789>',
229
+ },
230
+ giveawayRerolled: {
231
+ 'name': 'Example Giveaway',
232
+ 'winners': '<@123456789>, <@123456789>',
233
+ 'hostMention': '<@123456789>',
234
+ },
235
+ giveawayWinnerAndDM: {
236
+ 'name': 'Example Giveaway',
237
+ 'guild': 'Example Guild',
238
+ 'message': 'https://discord.com/...',
239
+ 'hostMention': '<@123456789>',
240
+ 'doubleVoteActive': '✅ `Double Vote Entry Activated!`',
241
+ 'doubleVoteActiveSeparated': '\n✅ `Double Vote Entry Activated!`\n',
242
+ 'ends': '<t:1640995200:R>',
243
+ },
244
+ welcomeMessage: {
245
+ 'guild': 'Example Guild',
246
+ 'username': 'Example',
247
+ 'userId': '123456789',
248
+ 'userMention': '<@123456789>',
249
+ 'userAvatar': 'https://example.com',
250
+ 'guildMemberCount': '123',
251
+ },
252
+ leaveMessage: {
253
+ 'guild': 'Example Guild',
254
+ 'username': 'Example',
255
+ 'userId': '123456789',
256
+ 'userMention': '<@123456789>',
257
+ 'userAvatar': 'https://example.com',
258
+ 'guildMemberCount': '123',
259
+ },
260
+ };
261
+ exports.randomMessages = {
262
+ live: [
263
+ '{streamerName} is live on {platform}! Join now!',
264
+ 'Catch {streamerName} live on {platform}! Don’t miss it!',
265
+ 'Live now! {streamerName} is streaming on {platform}!',
266
+ 'Hop in! {streamerName} just went live on {platform}!',
267
+ '{streamerName} is live on {platform}! Tune in!',
268
+ ],
269
+ offline: [
270
+ '{streamerName} just signed off from {platform}. See you next time!',
271
+ 'That’s a wrap! {streamerName} is now offline on {platform}.',
272
+ '{streamerName} has gone offline on {platform}. Catch you later!',
273
+ 'Stream over! {streamerName} is now offline on {platform}. Thanks for watching!',
274
+ '{streamerName} is offline on {platform}. Don’t miss the next stream!',
275
+ ],
276
+ video: [
277
+ 'New video! {streamerName} just uploaded on {platform}!',
278
+ 'Fresh upload from {streamerName} on {platform}! Watch now!',
279
+ '{streamerName} dropped a new video on {platform}! Check it out!',
280
+ 'Heads up! {streamerName} has a new video on {platform}!',
281
+ '{streamerName} posted a new video on {platform}!',
282
+ ],
283
+ };
284
+ exports.buttons = {
285
+ video: [{
286
+ label: 'Watch on {platform}!',
287
+ style: 5,
288
+ url: '{videoUrl}',
289
+ }],
290
+ live: [{
291
+ label: 'Watch {streamerName} on {platform}!',
292
+ }, {
293
+ label: 'Toggle Notification',
294
+ style: 2,
295
+ }, {
296
+ label: 'Invite Noti!',
297
+ style: 5,
298
+ url: 'https://discord.com/...',
299
+ }],
300
+ offline: [{
301
+ label: 'Missed the stream? Watch it on {platform}!',
302
+ style: 5,
303
+ url: '{streamerUrl}',
304
+ }, {
305
+ label: 'Toggle Notification',
306
+ style: 2,
307
+ }, {
308
+ label: 'Invite Noti!',
309
+ style: 5,
310
+ url: 'https://discord.com/...',
311
+ }],
312
+ birthday: [{
313
+ label: 'Invite Noti!',
314
+ style: 5,
315
+ url: 'https://discord.com/...',
316
+ }],
317
+ giveaway: [{
318
+ label: '🎉',
319
+ style: 1,
320
+ }, {
321
+ label: 'Vote for 2x entry',
322
+ style: 5,
323
+ url: 'https://noti.bot/vote',
324
+ }, {
325
+ label: 'Invite Noti!',
326
+ style: 5,
327
+ url: 'https://discord.com/...',
328
+ }],
329
+ giveawayDM: [{
330
+ label: 'Vote for 2x entry',
331
+ style: 5,
332
+ url: 'https://noti.bot/vote',
333
+ }, {
334
+ label: 'Invite Noti!',
335
+ style: 5,
336
+ url: 'https://discord.com/...',
337
+ }],
338
+ giveawayWinner: [{
339
+ label: 'Invite Noti!',
340
+ style: 5,
341
+ url: 'https://discord.com/...',
342
+ }],
343
+ };
344
+ exports.statChannels = {
345
+ live: {
346
+ name: '{live} • {username}',
347
+ placeholders: {
348
+ 'live': '🟢 Live',
349
+ 'username': 'Example',
350
+ 'followers': '239879',
351
+ 'followersFormatted': '239.9K',
352
+ 'views': '239879',
353
+ 'viewsFormatted': '239.9K',
354
+ },
355
+ },
356
+ offline: {
357
+ name: '{offline} • {username}',
358
+ placeholders: {
359
+ 'offline': '🔴 Offline',
360
+ 'username': 'Example',
361
+ 'duration': '4h 20m',
362
+ },
363
+ },
364
+ kickFollowers: {
365
+ name: '{username} • {followersFormatted}',
366
+ placeholders: {
367
+ 'username': 'Example',
368
+ 'followers': '239879',
369
+ 'followersFormatted': '239.9K',
370
+ },
371
+ },
372
+ };
373
+ exports.messages = {
374
+ vod: {
375
+ content: '{pingRole}',
376
+ embed: {
377
+ title: '{streamerName} VOD is ready for download!',
378
+ description: '> {streamTitle}',
379
+ image: { url: '{streamThumbnail}' },
380
+ color: 0x53fc18,
381
+ fields: [{
382
+ name: '• Duration',
383
+ value: '> {duration}',
384
+ inline: true,
385
+ }, {
386
+ name: '• Expires',
387
+ value: '> {expiresAt}',
388
+ inline: true,
389
+ }, {
390
+ name: '• Category',
391
+ value: '> {category}',
392
+ inline: true,
393
+ }, {
394
+ name: '• Started At',
395
+ value: '> {startTime}',
396
+ inline: true,
397
+ }, {
398
+ name: '• Ended At',
399
+ value: '> {endTime}',
400
+ inline: true,
401
+ }],
402
+ footer: {
403
+ text: 'Powered by Noti x KickBot.',
404
+ icon_url: 'https://noti.bot/logo.png',
405
+ },
406
+ },
407
+ buttons: [{
408
+ label: 'Watch & Download VOD',
409
+ style: 5,
410
+ url: '{vodUrl}',
411
+ }, ...exports.buttons.live],
412
+ },
413
+ clip: {
414
+ content: '{pingRole}',
415
+ embed: {
416
+ title: 'New Clip from {streamerName}!',
417
+ description: '> You can watch the full clip by clicking the button below.',
418
+ image: { url: '{clipThumbnail}' },
419
+ url: '{kickBotUrl}',
420
+ color: 0x53fc18,
421
+ fields: [{
422
+ name: '• Duration',
423
+ value: '> {duration}',
424
+ inline: true,
425
+ }, {
426
+ name: '• Clipped By',
427
+ value: '> {clipperName}',
428
+ inline: true,
429
+ }],
430
+ footer: {
431
+ text: 'Powered by Noti x KickBot.',
432
+ icon_url: 'https://noti.bot/logo.png',
433
+ },
434
+ },
435
+ buttons: [{
436
+ label: 'Preview Clip',
437
+ style: 5,
438
+ url: '{kickBotUrl}',
439
+ }, {
440
+ label: 'Download Clip',
441
+ style: 5,
442
+ url: '{downloadUrl}',
443
+ }, ...exports.buttons.live],
444
+ },
445
+ linkedRole: {
446
+ embed: {
447
+ title: 'Linked Roles Update',
448
+ description: '> {streamerName}\'s roles have been updated.',
449
+ fields: [{
450
+ name: '• Triggered By',
451
+ value: '> {triggeredBy}',
452
+ }, {
453
+ name: '• Roles Added',
454
+ value: '> {rolesAdded}',
455
+ }, {
456
+ name: '• Roles Removed',
457
+ value: '> {rolesRemoved}',
458
+ }],
459
+ color: 0xff4c4c,
460
+ },
461
+ buttons: [{
462
+ label: 'Invite Noti!',
463
+ style: 5,
464
+ url: 'https://discord.com/...',
465
+ }],
466
+ },
467
+ live: {
468
+ kick: {
469
+ content: '{pingRole} {randomMessage}',
470
+ embed: {
471
+ title: '{streamerName} is now live!',
472
+ description: '> {streamTitle}',
473
+ image: { url: '{streamThumbnail}' },
474
+ url: '{liveUrl}',
475
+ color: 0x53fc18,
476
+ fields: [{
477
+ name: '• Category',
478
+ value: '> {category}',
479
+ inline: true,
480
+ }, {
481
+ name: '• Followers',
482
+ value: '> {followers}',
483
+ inline: true,
484
+ }],
485
+ },
486
+ buttons: exports.buttons.live,
487
+ },
488
+ twitch: {
489
+ content: '{pingRole} {randomMessage}',
490
+ embed: {
491
+ title: '{streamerName} is now live!',
492
+ description: '> {streamTitle}',
493
+ image: { url: '{streamThumbnail}' },
494
+ url: '{liveUrl}',
495
+ color: 0x9347ff,
496
+ fields: [{
497
+ name: '• Category',
498
+ value: '> {category}',
499
+ inline: true,
500
+ }],
501
+ },
502
+ buttons: exports.buttons.live,
503
+ },
504
+ rumble: {
505
+ content: '{pingRole} {randomMessage}',
506
+ embed: {
507
+ title: '{streamerName} is now live!',
508
+ description: '> {streamTitle}',
509
+ image: { url: '{streamThumbnail}' },
510
+ url: '{liveUrl}',
511
+ color: 0x85c742,
512
+ fields: [{
513
+ name: '• Category',
514
+ value: '> {category}',
515
+ inline: true,
516
+ }, {
517
+ name: '• Followers',
518
+ value: '> {followers}',
519
+ inline: true,
520
+ }],
521
+ },
522
+ buttons: exports.buttons.live,
523
+ },
524
+ tiktok: {
525
+ content: '{pingRole} {randomMessage}!\n\n> {liveUrl}',
526
+ embed: {},
527
+ buttons: exports.buttons.live,
528
+ },
529
+ youtube: {
530
+ content: '{pingRole} {randomMessage}!\n\n> {liveUrl}',
531
+ embed: {},
532
+ buttons: exports.buttons.live,
533
+ },
534
+ },
535
+ offline: {
536
+ kick: {
537
+ content: '{pingRole} {randomMessage}',
538
+ embed: {
539
+ title: '{streamerName} is now offline!',
540
+ description: '> You can still watch their past broadcasts, click the button below!',
541
+ image: { url: '{streamThumbnail}' },
542
+ url: '{liveUrl}',
543
+ color: 0xff4c4c,
544
+ fields: [{
545
+ name: '• Duration',
546
+ value: '> {duration}',
547
+ inline: true,
548
+ }, {
549
+ name: '• Stream Title',
550
+ value: '> {streamTitle}',
551
+ inline: false,
552
+ }],
553
+ },
554
+ buttons: exports.buttons.offline,
555
+ },
556
+ twitch: {
557
+ content: '{pingRole} {randomMessage}',
558
+ embed: {
559
+ title: '{streamerName} is now offline!',
560
+ description: '> You can still watch their past broadcasts, click the button below!',
561
+ image: { url: '{streamThumbnail}' },
562
+ url: '{liveUrl}',
563
+ color: 0xff4c4c,
564
+ fields: [{
565
+ name: '• Duration',
566
+ value: '> {duration}',
567
+ inline: true,
568
+ }, {
569
+ name: '• Stream Title',
570
+ value: '> {streamTitle}',
571
+ inline: false,
572
+ }],
573
+ },
574
+ buttons: exports.buttons.offline,
575
+ },
576
+ rumble: {
577
+ content: '{pingRole} {randomMessage}',
578
+ embed: {
579
+ title: '{streamerName} is now offline!',
580
+ description: '> You can still watch their past broadcasts, click the button below!',
581
+ image: { url: '{streamThumbnail}' },
582
+ url: '{liveUrl}',
583
+ color: 0xff4c4c,
584
+ fields: [{
585
+ name: '• Duration',
586
+ value: '> {duration}',
587
+ inline: true,
588
+ }, {
589
+ name: '• Followers',
590
+ value: '> {followers}',
591
+ inline: true,
592
+ }, {
593
+ name: '• Stream Title',
594
+ value: '> {streamTitle}',
595
+ inline: false,
596
+ }],
597
+ },
598
+ buttons: exports.buttons.offline,
599
+ },
600
+ tiktok: {
601
+ content: '{pingRole} {randomMessage}',
602
+ embed: {
603
+ title: '{streamerName} is now offline!',
604
+ description: '> You can still watch their past broadcasts, click the button below!',
605
+ image: { url: '{streamThumbnail}' },
606
+ url: '{liveUrl}',
607
+ color: 0xff4c4c,
608
+ fields: [{
609
+ name: '• Duration',
610
+ value: '> {duration}',
611
+ inline: true,
612
+ }, {
613
+ name: '• Followers',
614
+ value: '> {followers}',
615
+ inline: true,
616
+ }, {
617
+ name: '• Stream Title',
618
+ value: '> {streamTitle}',
619
+ inline: false,
620
+ }],
621
+ },
622
+ buttons: exports.buttons.offline,
623
+ },
624
+ },
625
+ video: {
626
+ tiktok: {
627
+ content: '{pingRole} {randomMessage}\n\n> {videoUrl}',
628
+ embed: {},
629
+ buttons: exports.buttons.video,
630
+ },
631
+ youtube: {
632
+ content: '{pingRole} {randomMessage}\n\n> {videoUrl}',
633
+ embed: {},
634
+ buttons: exports.buttons.video,
635
+ },
636
+ },
637
+ birthday: {
638
+ content: '{userMention}',
639
+ embed: {
640
+ title: '🎉 Happy Birthday {username}! 🎉',
641
+ description: '> You are now a year older, hope you have a great day!',
642
+ color: 0xff4c4c,
643
+ footer: {
644
+ text: 'Powered by Noti.',
645
+ icon_url: 'https://noti.bot/logo.png',
646
+ },
647
+ },
648
+ buttons: exports.buttons.birthday,
649
+ },
650
+ giveaway: {
651
+ content: '{pingRole}',
652
+ embed: {
653
+ title: '{name}',
654
+ description: 'Click the button below to enter the giveaway!\n{doubleVoteActiveSeparated}\n**📌 Giveaway Details:**\n**〢 Max Winners:** {winners}\n**〢 Max Entries:** {maxEntries}\n**〢 Hosted By:** {hostMention}\n\n**📋 Requirements:**\n{requirementsListPretty}\n\n**🕰️ Time remaining:** {ends}',
655
+ color: 0xff4c4c,
656
+ image: { url: 'https://dev.noti.bot/giveaway_thumbnail.png' },
657
+ },
658
+ buttons: exports.buttons.giveaway,
659
+ },
660
+ giveawayEnded: {
661
+ content: '{winners}',
662
+ embed: {
663
+ title: '🎉 {name} has ended! 🎉',
664
+ description: '> Thank you to everyone who has participated!\n\n> **WINNERS:** {winners}\n> **HOST:** {hostMention}',
665
+ image: { url: 'https://dev.noti.bot/giveaway_thumbnail.png' },
666
+ color: 0xff4c4c,
667
+ },
668
+ },
669
+ giveawayRerolled: {
670
+ content: '{winners}',
671
+ embed: {
672
+ title: '🎉 {name} was rerolled! 🎉',
673
+ description: '> Thank you to everyone who has participated!\n\n> **WINNERS:** {winners}\n> **HOST:** {hostMention}',
674
+ image: { url: 'https://dev.noti.bot/giveaway_thumbnail.png' },
675
+ color: 0xff4c4c,
676
+ },
677
+ },
678
+ giveawayWinner: {
679
+ content: '',
680
+ embed: {
681
+ title: '🎉 You won {name}! 🎉',
682
+ description: '> Thank you for your participation!\n\n> **GIVEAWAY:** [Giveaway]({message})\n> **HOST:** {hostMention}',
683
+ color: 0x1dbf57,
684
+ image: { url: 'https://dev.noti.bot/giveaway_thumbnail.png' },
685
+ },
686
+ buttons: exports.buttons.giveawayWinner,
687
+ },
688
+ giveawayDM: {
689
+ content: '',
690
+ embed: {
691
+ title: '🎉 You Entered {name}! 🎉',
692
+ description: '> Thank you for joining!\n{doubleVoteActiveSeparated}\n**🕰️ Time remaining:** {ends}\n> **GIVEAWAY:** [Giveaway]({message})\n> **HOST:** {hostMention}',
693
+ color: 0xff4c4c,
694
+ image: { url: 'https://dev.noti.bot/giveaway_thumbnail.png' },
695
+ },
696
+ buttons: exports.buttons.giveawayDM,
697
+ },
698
+ welcomeMessage: {
699
+ content: 'Welcome to **{guild}**, {userMention}!',
700
+ embed: {},
701
+ },
702
+ leaveMessage: {
703
+ content: '`{username}` has left the server, we hope to see you again!',
704
+ embed: {},
705
+ },
706
+ };