@notidotbot/noti-api-client 1.9.100 → 1.9.101

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 (47) hide show
  1. package/dist/classes/@me.d.ts +46 -0
  2. package/dist/classes/@me.js +20 -0
  3. package/dist/classes/admin.d.ts +1 -1
  4. package/dist/classes/client.d.ts +1 -1
  5. package/dist/classes/guildPlatform.d.ts +9 -2
  6. package/dist/classes/guildPlatformAction.d.ts +2 -2
  7. package/dist/classes/guildRolePanel.d.ts +12 -12
  8. package/dist/classes/guildStarboard.d.ts +1 -1
  9. package/dist/index.d.ts +1 -1
  10. package/dist/other/bitfields.d.ts +5 -2
  11. package/dist/other/bitfields.js +2 -0
  12. package/dist/other/enums.d.ts +6 -0
  13. package/dist/other/enums.js +3 -0
  14. package/dist/other/features.d.ts +1 -1
  15. package/dist/other/features.js +2 -0
  16. package/dist/other/inGameAlerts.d.ts +1 -0
  17. package/dist/other/inGameAlerts.js +1 -0
  18. package/dist/other/multiDestination.d.ts +1 -0
  19. package/dist/other/multiDestination.js +1 -0
  20. package/dist/other/prisma.d.ts +4 -0
  21. package/dist/other/templates.d.ts +42 -0
  22. package/dist/other/templates.js +31 -0
  23. package/dist/other/types.d.ts +3 -0
  24. package/dist/other/zod/client.zod.d.ts +2 -0
  25. package/dist/other/zod/clipForward.zod.d.ts +3 -0
  26. package/dist/other/zod/clubStreamer.zod.d.ts +2 -0
  27. package/dist/other/zod/drops.zod.d.ts +1 -0
  28. package/dist/other/zod/gameConfig.zod.d.ts +1 -1
  29. package/dist/other/zod/guild.zod.d.ts +6 -0
  30. package/dist/other/zod/kickStreamer.zod.d.ts +2 -0
  31. package/dist/other/zod/rolePanels.zod.d.ts +2 -2
  32. package/dist/other/zod/rssFeed.zod.d.ts +153 -0
  33. package/dist/other/zod/rssFeed.zod.js +48 -0
  34. package/dist/other/zod/rumbleStreamer.zod.d.ts +2 -0
  35. package/dist/other/zod/schema.zod.d.ts +4 -1
  36. package/dist/other/zod/schema.zod.js +3 -0
  37. package/dist/other/zod/tiktokStreamer.zod.d.ts +2 -0
  38. package/dist/other/zod/twitchStreamer.zod.d.ts +2 -0
  39. package/dist/other/zod/twitterStreamer.zod.d.ts +2 -0
  40. package/dist/other/zod/whatnotStreamer.zod.d.ts +2 -0
  41. package/dist/other/zod/youtubeStreamer.zod.d.ts +2 -0
  42. package/dist/other/zod/zod.d.ts +2 -0
  43. package/dist/tsconfig.tsbuildinfo +1 -1
  44. package/package.json +1 -1
  45. package/prisma/generated/ts-prisma.d.ts +2956 -0
  46. package/prisma/schema/models/rssFeed.prisma +131 -0
  47. package/prisma/schema/schema.prisma +3 -0
@@ -47,6 +47,16 @@ export declare class APIMe {
47
47
  setServerPremium({ auth, guildId }: MeFunctionsInput['setServerPremium']): Promise<import("../types").WebResponse<ServerPremiumAssignment>>;
48
48
  /** Take the upgrade back off whichever server holds it. Starts the cooldown, same as placing it. */
49
49
  deleteServerPremium({ auth }: MeFunctionsInput['deleteServerPremium']): Promise<import("../types").WebResponse<ServerPremiumRemoval>>;
50
+ /**
51
+ * Referral rewards: the user's referral link, how their referrals did, and the free premium days ready to
52
+ * use. 404 while the `referralRewards` launch flag is closed to this user.
53
+ */
54
+ getReferrals({ auth }: MeFunctionsInput['getReferrals']): Promise<import("../types").WebResponse<ReferralSummary>>;
55
+ /**
56
+ * Put every free premium day the user has earned (up to the 90-day cap) on a server they manage that has
57
+ * no premium. 409 when there is nothing to use, the server already has premium, or it is already full.
58
+ */
59
+ claimReferralDays({ auth, guildId }: MeFunctionsInput['claimReferralDays']): Promise<import("../types").WebResponse<ReferralDaysClaim>>;
50
60
  }
51
61
  export type MeFunctionsInput<T extends GuildDataType = never> = {
52
62
  'getCurrentUser': {
@@ -87,6 +97,13 @@ export type MeFunctionsInput<T extends GuildDataType = never> = {
87
97
  'deleteServerPremium': {
88
98
  auth: string;
89
99
  };
100
+ 'getReferrals': {
101
+ auth: string;
102
+ };
103
+ 'claimReferralDays': {
104
+ auth: string;
105
+ guildId: string;
106
+ };
90
107
  'connectMinecraft': {
91
108
  auth: string;
92
109
  code: string;
@@ -127,6 +144,10 @@ export type MeGetReturnTypes = {
127
144
  'setServerPremiumSuccess': CancelOutWebResponses<Awaited<ReturnType<APIMe['setServerPremium']>>>;
128
145
  'deleteServerPremiumRaw': Awaited<ReturnType<APIMe['deleteServerPremium']>>;
129
146
  'deleteServerPremiumSuccess': CancelOutWebResponses<Awaited<ReturnType<APIMe['deleteServerPremium']>>>;
147
+ 'getReferralsRaw': Awaited<ReturnType<APIMe['getReferrals']>>;
148
+ 'getReferralsSuccess': CancelOutWebResponses<Awaited<ReturnType<APIMe['getReferrals']>>>;
149
+ 'claimReferralDaysRaw': Awaited<ReturnType<APIMe['claimReferralDays']>>;
150
+ 'claimReferralDaysSuccess': CancelOutWebResponses<Awaited<ReturnType<APIMe['claimReferralDays']>>>;
130
151
  'connectMinecraftRaw': Awaited<ReturnType<APIMe['connectMinecraft']>>;
131
152
  'connectMinecraftSuccess': CancelOutWebResponses<Awaited<ReturnType<APIMe['connectMinecraft']>>>;
132
153
  'getMinecraftLinksRaw': Awaited<ReturnType<APIMe['getMinecraftLinks']>>;
@@ -278,3 +299,28 @@ export type ServerPremiumRemoval = {
278
299
  guildName: string;
279
300
  cooldownUntil: string;
280
301
  };
302
+ /** A user's referral rewards (Noti-v3 modules/referralRewards.ts ReferralSummary). */
303
+ export type ReferralSummary = {
304
+ /** Their invite link. Null only for an account id Discord would not issue. */
305
+ link: string | null;
306
+ /** Waiting for the 7-day check. */
307
+ pending: number;
308
+ /** Counted - earned days. */
309
+ approved: number;
310
+ /** Waiting for a staff check (counted with `pending` in Discord's /referral). */
311
+ held: number;
312
+ /** Did not count: rejected, over the monthly cap, or taken back after Noti was removed. */
313
+ rejected: number;
314
+ earnedDays: number;
315
+ spentDays: number;
316
+ availableDays: number;
317
+ };
318
+ export type ReferralDaysClaim = {
319
+ guildId: string;
320
+ /** Days added to the server. */
321
+ days: number;
322
+ /** When the server's free premium now ends. */
323
+ endsAt: string;
324
+ /** True when the server hit the 90-day cap and some days stayed saved. */
325
+ capped: boolean;
326
+ };
@@ -128,5 +128,25 @@ class APIMe {
128
128
  endpoint: this.web.qp('/@me/premium/server'),
129
129
  });
130
130
  }
131
+ /**
132
+ * Referral rewards: the user's referral link, how their referrals did, and the free premium days ready to
133
+ * use. 404 while the `referralRewards` launch flag is closed to this user.
134
+ */
135
+ async getReferrals({ auth }) {
136
+ return await this.web.request({
137
+ method: 'GET', auth,
138
+ endpoint: this.web.qp(`/@me/referrals`),
139
+ });
140
+ }
141
+ /**
142
+ * Put every free premium day the user has earned (up to the 90-day cap) on a server they manage that has
143
+ * no premium. 409 when there is nothing to use, the server already has premium, or it is already full.
144
+ */
145
+ async claimReferralDays({ auth, guildId }) {
146
+ return await this.web.request({
147
+ method: 'POST', auth,
148
+ endpoint: this.web.qp(`/@me/referrals/guilds/${guildId}`),
149
+ });
150
+ }
131
151
  }
132
152
  exports.APIMe = APIMe;
@@ -254,7 +254,7 @@ export type AdminGetReturnTypes = {
254
254
  'getAnalyticsEventsRaw': Awaited<ReturnType<APIAdmin['getAnalyticsEvents']>>;
255
255
  'getAnalyticsEventsSuccess': CancelOutWebResponses<Awaited<ReturnType<APIAdmin['getAnalyticsEvents']>>>;
256
256
  };
257
- export type NotificationProviderName = 'kick' | 'twitch' | 'rumble' | 'tiktok' | 'youtube' | 'whatnot' | 'club' | 'twitter' | 'vods' | 'clips' | 'gameDeal' | 'gameChangelog' | 'roblox' | 'kickBounties';
257
+ export type NotificationProviderName = 'kick' | 'twitch' | 'rumble' | 'tiktok' | 'youtube' | 'whatnot' | 'club' | 'twitter' | 'rss' | 'vods' | 'clips' | 'gameDeal' | 'gameChangelog' | 'roblox' | 'kickBounties';
258
258
  export type FixUrlRule = {
259
259
  dbId: string;
260
260
  original: string;
@@ -41,13 +41,13 @@ export declare class APIClient {
41
41
  thumbnail: string | null;
42
42
  authorIcon: string;
43
43
  createdAt: Date;
44
- tags: string[];
45
44
  clientId: string;
46
45
  identifier: string;
47
46
  isPinned: boolean;
48
47
  views: number | null;
49
48
  reactions: string[];
50
49
  reactionsCount: number | null;
50
+ tags: string[];
51
51
  authorName: string;
52
52
  lastEdited: Date;
53
53
  isPublic: boolean;
@@ -1,4 +1,4 @@
1
- import { AllPlatforms, ClubStreamerZod, TwitterStreamerZod, WhatnotStreamerZod, KickStreamerZod, RumbleStreamerZod, TikTokStreamerZod, TwitchStreamerZod, YouTubeStreamerZod } from '../other/prisma';
1
+ import { AllPlatforms, ClubStreamerZod, RssFeedZod, TwitterStreamerZod, WhatnotStreamerZod, KickStreamerZod, RumbleStreamerZod, TikTokStreamerZod, TwitchStreamerZod, YouTubeStreamerZod } from '../other/prisma';
2
2
  import { CancelOutWebResponses, DeepPartial } from '../types';
3
3
  import { WebDataManager } from '../core/manager';
4
4
  export declare class APIGuildPlatform {
@@ -108,7 +108,7 @@ export type UsersForLiveRole = {
108
108
  id: string;
109
109
  name: string;
110
110
  }[];
111
- export type GuildSingleStreamer<T extends AllPlatforms> = T extends 'kick' ? KickStreamerZod : T extends 'twitch' ? TwitchStreamerZod : T extends 'rumble' ? RumbleStreamerZod : T extends 'tiktok' ? TikTokStreamerZod : T extends 'youtube' ? YouTubeStreamerZod : T extends 'club' ? ClubStreamerZod : T extends 'whatnot' ? WhatnotStreamerZod : T extends 'twitter' ? TwitterStreamerZod : never;
111
+ export type GuildSingleStreamer<T extends AllPlatforms> = T extends 'kick' ? KickStreamerZod : T extends 'twitch' ? TwitchStreamerZod : T extends 'rumble' ? RumbleStreamerZod : T extends 'tiktok' ? TikTokStreamerZod : T extends 'youtube' ? YouTubeStreamerZod : T extends 'club' ? ClubStreamerZod : T extends 'whatnot' ? WhatnotStreamerZod : T extends 'twitter' ? TwitterStreamerZod : T extends 'rss' ? RssFeedZod : never;
112
112
  /**
113
113
  * The platforms whose `usersForLiveRole` the single-streamer route RESOLVES from ids into names.
114
114
  *
@@ -210,6 +210,7 @@ type ShortViewKeySets = {
210
210
  youtube: 'streamerUserName' | 'streamerId' | 'guildId' | OrderKeys;
211
211
  club: 'streamerUserName' | 'guildId' | OrderKeys;
212
212
  twitter: 'streamerUserName' | 'guildId' | OrderKeys;
213
+ rss: 'streamerUserName' | 'feedTitle' | 'guildId' | OrderKeys;
213
214
  whatnot: never;
214
215
  };
215
216
  export type Platformstreamers<T extends boolean, P extends AllPlatforms> = {
@@ -234,6 +235,12 @@ export type Platformstreamers<T extends boolean, P extends AllPlatforms> = {
234
235
  streamers: P extends ServedPlatform ? ((T extends true ? Pick<GuildSingleStreamer<P>, Extract<keyof GuildSingleStreamer<P>, ShortViewKeySets[P]>> : GuildSingleStreamer<P>) & WithInfluencerLink)[] : never;
235
236
  currentTotal: number;
236
237
  maxLimit: number;
238
+ /**
239
+ * RSS only: how often this server's feeds are checked, in minutes (15 / 10 / 5 by plan), and the fastest any plan
240
+ * gets. Show "checked every {pollMinutes} minutes" and, when it is above `fastestPollMinutes`, the Premium Plus line.
241
+ */
242
+ pollMinutes?: number;
243
+ fastestPollMinutes?: number;
237
244
  premium: {
238
245
  tierId: string;
239
246
  tierName: string;
@@ -1,4 +1,4 @@
1
- import { AllPlatforms, ClubStreamerZod, TwitterStreamerZod, WhatnotStreamerZod, KickStreamerZod, RumbleStreamerZod, TikTokStreamerZod, TwitchStreamerZod, YouTubeStreamerZod } from '../other/prisma';
1
+ import { AllPlatforms, ClubStreamerZod, RssFeedZod, TwitterStreamerZod, WhatnotStreamerZod, KickStreamerZod, RumbleStreamerZod, TikTokStreamerZod, TwitchStreamerZod, YouTubeStreamerZod } from '../other/prisma';
2
2
  import { LeaderBoardTypesEnum, StreamerMessageTypeEnum } from '@prisma/client';
3
3
  import { RumbleType } from './guildPlatform';
4
4
  import { CancelOutWebResponses } from '../types';
@@ -80,7 +80,7 @@ export type PlatformActionReturnTypes = {
80
80
  'deleteKickStreamerRolesRaw': Awaited<ReturnType<APIPlatformAction['deleteKickStreamerRoles']>>;
81
81
  'deleteKickStreamerRolesSuccess': CancelOutWebResponses<Awaited<ReturnType<APIPlatformAction['deleteKickStreamerRoles']>>>;
82
82
  };
83
- export type StreamerUpdateMessage = (KickStreamerZod | TwitchStreamerZod | RumbleStreamerZod | TikTokStreamerZod | YouTubeStreamerZod | ClubStreamerZod | TwitterStreamerZod | WhatnotStreamerZod)['customMessages'][number];
83
+ export type StreamerUpdateMessage = (KickStreamerZod | TwitchStreamerZod | RumbleStreamerZod | TikTokStreamerZod | YouTubeStreamerZod | ClubStreamerZod | TwitterStreamerZod | WhatnotStreamerZod | RssFeedZod)['customMessages'][number];
84
84
  export type KickRolesType = 'leaderboardSyncRoles' | 'giftedSubRoles';
85
85
  export type KickRolesSubType<T extends KickRolesType> = T extends 'leaderboardSyncRoles' ? LeaderBoardTypesEnum : T extends 'giftedSubRoles' ? string : never;
86
86
  export type KickRolesData<T extends KickRolesType> = T extends 'leaderboardSyncRoles' ? KickStreamerZod['leaderBoardSyncRoles'][number] : T extends 'giftedSubRoles' ? KickStreamerZod['giftedSubRoles'][number] : never;
@@ -19,8 +19,8 @@ export declare class APIGuildRolePanel {
19
19
  thumbnail: string | null;
20
20
  author: string | null;
21
21
  authorIcon: string | null;
22
- guildRolePanelId: string;
23
22
  order: number;
23
+ guildRolePanelId: string;
24
24
  } | null;
25
25
  } & {
26
26
  name: string;
@@ -41,8 +41,8 @@ export declare class APIGuildRolePanel {
41
41
  thumbnail: string | null;
42
42
  author: string | null;
43
43
  authorIcon: string | null;
44
- guildRolePanelId: string;
45
44
  order: number;
45
+ guildRolePanelId: string;
46
46
  })[];
47
47
  rows: {
48
48
  dbId: string;
@@ -51,9 +51,9 @@ export declare class APIGuildRolePanel {
51
51
  blacklistRoleIds: string[];
52
52
  emojiUnicodeOrId: string | null;
53
53
  label: string | null;
54
+ guildRolePanelId: string;
54
55
  style: number | null;
55
56
  temporaryMinutes: number | null;
56
- guildRolePanelId: string;
57
57
  }[];
58
58
  } & {
59
59
  name: string;
@@ -61,14 +61,14 @@ export declare class APIGuildRolePanel {
61
61
  guildId: string;
62
62
  channelId: string;
63
63
  messageId: string | null;
64
- webhookEnabled: boolean;
65
- webhookUsername: string | null;
66
- webhookAvatarUrl: string | null;
67
64
  panelId: string;
68
65
  interactionType: import("@prisma/client").$Enums.RolePanelType;
69
66
  assignMode: import("@prisma/client").$Enums.RolePanelAssignMode;
70
67
  maxRoles: number | null;
71
68
  logChannelId: string | null;
69
+ webhookEnabled: boolean;
70
+ webhookUsername: string | null;
71
+ webhookAvatarUrl: string | null;
72
72
  requireAccountAgeDays: number | null;
73
73
  requireJoinAgeDays: number | null;
74
74
  requireMessageCount: number | null;
@@ -89,8 +89,8 @@ export declare class APIGuildRolePanel {
89
89
  thumbnail: string | null;
90
90
  author: string | null;
91
91
  authorIcon: string | null;
92
- guildRolePanelId: string;
93
92
  order: number;
93
+ guildRolePanelId: string;
94
94
  } | null;
95
95
  } & {
96
96
  name: string;
@@ -111,8 +111,8 @@ export declare class APIGuildRolePanel {
111
111
  thumbnail: string | null;
112
112
  author: string | null;
113
113
  authorIcon: string | null;
114
- guildRolePanelId: string;
115
114
  order: number;
115
+ guildRolePanelId: string;
116
116
  })[];
117
117
  rows: {
118
118
  dbId: string;
@@ -121,9 +121,9 @@ export declare class APIGuildRolePanel {
121
121
  blacklistRoleIds: string[];
122
122
  emojiUnicodeOrId: string | null;
123
123
  label: string | null;
124
+ guildRolePanelId: string;
124
125
  style: number | null;
125
126
  temporaryMinutes: number | null;
126
- guildRolePanelId: string;
127
127
  }[];
128
128
  } & {
129
129
  name: string;
@@ -131,14 +131,14 @@ export declare class APIGuildRolePanel {
131
131
  guildId: string;
132
132
  channelId: string;
133
133
  messageId: string | null;
134
- webhookEnabled: boolean;
135
- webhookUsername: string | null;
136
- webhookAvatarUrl: string | null;
137
134
  panelId: string;
138
135
  interactionType: import("@prisma/client").$Enums.RolePanelType;
139
136
  assignMode: import("@prisma/client").$Enums.RolePanelAssignMode;
140
137
  maxRoles: number | null;
141
138
  logChannelId: string | null;
139
+ webhookEnabled: boolean;
140
+ webhookUsername: string | null;
141
+ webhookAvatarUrl: string | null;
142
142
  requireAccountAgeDays: number | null;
143
143
  requireJoinAgeDays: number | null;
144
144
  requireMessageCount: number | null;
@@ -9,9 +9,9 @@ export declare class APIGuildStarboard {
9
9
  dbId: string;
10
10
  guildStarboardId: string;
11
11
  roles: string[];
12
+ channels: string[];
12
13
  roleMode: import("@prisma/client").$Enums.FilterEnum | null;
13
14
  channelMode: import("@prisma/client").$Enums.FilterEnum | null;
14
- channels: string[];
15
15
  } | null;
16
16
  } & {
17
17
  dbId: string;
package/dist/index.d.ts CHANGED
@@ -67,4 +67,4 @@ export { GIVEAWAY_CLAIM_WINDOWS, GIVEAWAY_CLAIM_WINDOW_LABELS, GIVEAWAY_MAX_CLAI
67
67
  export type { GiveawayClaimWindow, GiveawayWinnerStatus } from './other/giveawayClaims';
68
68
  export type { FeatureName, FeatureStatus, ResolvedFeature, } from './other/features';
69
69
  export type { Prisma, TSPrisma } from '@prisma/client';
70
- export type { ClientChangelog, Guild, User, Team, Member, KickStreamer, TwitchStreamer, YoutubeStreamer, TiktokStreamer, RumbleStreamer, ClubStreamer, TwitterStreamer, GuildGiveaway, GuildRolePanel, GuildClipForward } from '@prisma/client';
70
+ export type { ClientChangelog, Guild, User, Team, Member, KickStreamer, TwitchStreamer, YoutubeStreamer, TiktokStreamer, RumbleStreamer, ClubStreamer, TwitterStreamer, RssFeed, GuildGiveaway, GuildRolePanel, GuildClipForward } from '@prisma/client';
@@ -138,6 +138,7 @@ export declare const GuildFeatures: {
138
138
  BirthdayPostOptions: bigint;
139
139
  JoinAnniversaries: bigint;
140
140
  ScheduledStreams: bigint;
141
+ RssNotifications: bigint;
141
142
  };
142
143
  export declare const GuildFeaturesText: Record<keyof typeof GuildFeatures, string>;
143
144
  export declare const UserFeatures: {
@@ -264,8 +265,9 @@ export declare class GuildFeaturesManager extends BitFieldManager<typeof GuildFe
264
265
  BirthdayPostOptions: bigint;
265
266
  JoinAnniversaries: bigint;
266
267
  ScheduledStreams: bigint;
268
+ RssNotifications: bigint;
267
269
  };
268
- t: Record<"StickyMessages" | "LinkedRoles" | "StatusRoles" | "Starboards" | "KickClips" | "StatCounters" | "BaseSyncableRoles" | "FullSyncableRoles" | "LiveRole" | "VoteSkipping" | "KickAuditLogs" | "LeaderboardCommand" | "RefreshingLeaderboard" | "LeaderBoardSyncRoles" | "BetaAccess" | "PriorityNotifications" | "KickNotifications" | "TwitchNotifications" | "ImportEmojis" | "ImportEmojisWithSub" | "CustomWebhooks" | "AnyMessageEditor" | "SyncSocialUsernames" | "AutoDeleteNotifications" | "TestNotificationCommand" | "CustomCooldowns" | "WelcomeAndLeaveNotifications" | "NotificationPingRoleId" | "SwitchStreamerAndGuildEmbeds" | "BirthdayNotifications" | "AllowNotSendingOfflineNotifications" | "AutoStatusLiveRoles" | "RumbleNotifications" | "AllowAutoPublishNotifications" | "NotificationOverrides" | "UseCustomButtons" | "AllowVodFeatures" | "TikTokNotifications" | "ManageBranding" | "CustomStarboards" | "AutoThreadOnStarboard" | "StarboardRewardRole" | "Giveaways" | "GiveawayLogs" | "ModifyGiveawayWhileRunning" | "ScheduleGiveaways" | "GiveawayRequirements" | "GiveawayBonusEntries" | "GiveawayEntryLimit" | "DisableDoubleVoteEntry" | "YouTubeNotifications" | "RandomMessages" | "WeeklyBirthdayPanel" | "GameNotifications" | "GameCategoryRouting" | "GameAllTimeLowAlerts" | "GameChangelogs" | "GameRobloxTracking" | "FixUrlWebhook" | "FixUrlCustomRules" | "KickClipperSubscribe" | "WhatnotNotifications" | "ScheduledEventMessages" | "ScheduledMessageWebhooks" | "ReactionRoles" | "AdvancedRolePanels" | "KickClipForwarding" | "TwitchClipForwarding" | "ClubNotifications" | "RolePanelWebhooks" | "Fishing" | "FishingCustomization" | "FishingWebhooks" | "StreamRoles" | "RoleFilters" | "TwitterNotifications" | "TwitterLiveNotifications" | "BadgeAllGames" | "AutoRoles" | "AutoRoleTimers" | "AutoRoleInvites" | "StickyMessageRoleFilters" | "GiveawayClaims" | "GiveawayWinnerRole" | "InfluencerPanel" | "InfluencerPanelPremium" | "InfluencerPanelPlus" | "StatusRoleKeepOnOffline" | "YouTubeReplayChannel" | "LivePostUpdates" | "MultiDestination" | "InGameRewards" | "BoostNotifications" | "BoostLogsAndStreaks" | "BoostBoard" | "UnlimitedEmojiRepositions" | "BirthdayPostOptions" | "JoinAnniversaries" | "ScheduledStreams", string>;
270
+ t: Record<"StickyMessages" | "LinkedRoles" | "StatusRoles" | "Starboards" | "KickClips" | "StatCounters" | "BaseSyncableRoles" | "FullSyncableRoles" | "LiveRole" | "VoteSkipping" | "KickAuditLogs" | "LeaderboardCommand" | "RefreshingLeaderboard" | "LeaderBoardSyncRoles" | "BetaAccess" | "PriorityNotifications" | "KickNotifications" | "TwitchNotifications" | "ImportEmojis" | "ImportEmojisWithSub" | "CustomWebhooks" | "AnyMessageEditor" | "SyncSocialUsernames" | "AutoDeleteNotifications" | "TestNotificationCommand" | "CustomCooldowns" | "WelcomeAndLeaveNotifications" | "NotificationPingRoleId" | "SwitchStreamerAndGuildEmbeds" | "BirthdayNotifications" | "AllowNotSendingOfflineNotifications" | "AutoStatusLiveRoles" | "RumbleNotifications" | "AllowAutoPublishNotifications" | "NotificationOverrides" | "UseCustomButtons" | "AllowVodFeatures" | "TikTokNotifications" | "ManageBranding" | "CustomStarboards" | "AutoThreadOnStarboard" | "StarboardRewardRole" | "Giveaways" | "GiveawayLogs" | "ModifyGiveawayWhileRunning" | "ScheduleGiveaways" | "GiveawayRequirements" | "GiveawayBonusEntries" | "GiveawayEntryLimit" | "DisableDoubleVoteEntry" | "YouTubeNotifications" | "RandomMessages" | "WeeklyBirthdayPanel" | "GameNotifications" | "GameCategoryRouting" | "GameAllTimeLowAlerts" | "GameChangelogs" | "GameRobloxTracking" | "FixUrlWebhook" | "FixUrlCustomRules" | "KickClipperSubscribe" | "WhatnotNotifications" | "ScheduledEventMessages" | "ScheduledMessageWebhooks" | "ReactionRoles" | "AdvancedRolePanels" | "KickClipForwarding" | "TwitchClipForwarding" | "ClubNotifications" | "RolePanelWebhooks" | "Fishing" | "FishingCustomization" | "FishingWebhooks" | "StreamRoles" | "RoleFilters" | "TwitterNotifications" | "TwitterLiveNotifications" | "BadgeAllGames" | "AutoRoles" | "AutoRoleTimers" | "AutoRoleInvites" | "StickyMessageRoleFilters" | "GiveawayClaims" | "GiveawayWinnerRole" | "InfluencerPanel" | "InfluencerPanelPremium" | "InfluencerPanelPlus" | "StatusRoleKeepOnOffline" | "YouTubeReplayChannel" | "LivePostUpdates" | "MultiDestination" | "InGameRewards" | "BoostNotifications" | "BoostLogsAndStreaks" | "BoostBoard" | "UnlimitedEmojiRepositions" | "BirthdayPostOptions" | "JoinAnniversaries" | "ScheduledStreams" | "RssNotifications", string>;
269
271
  all: bigint;
270
272
  static b: {
271
273
  BaseSyncableRoles: bigint;
@@ -367,8 +369,9 @@ export declare class GuildFeaturesManager extends BitFieldManager<typeof GuildFe
367
369
  BirthdayPostOptions: bigint;
368
370
  JoinAnniversaries: bigint;
369
371
  ScheduledStreams: bigint;
372
+ RssNotifications: bigint;
370
373
  };
371
- static t: Record<"StickyMessages" | "LinkedRoles" | "StatusRoles" | "Starboards" | "KickClips" | "StatCounters" | "BaseSyncableRoles" | "FullSyncableRoles" | "LiveRole" | "VoteSkipping" | "KickAuditLogs" | "LeaderboardCommand" | "RefreshingLeaderboard" | "LeaderBoardSyncRoles" | "BetaAccess" | "PriorityNotifications" | "KickNotifications" | "TwitchNotifications" | "ImportEmojis" | "ImportEmojisWithSub" | "CustomWebhooks" | "AnyMessageEditor" | "SyncSocialUsernames" | "AutoDeleteNotifications" | "TestNotificationCommand" | "CustomCooldowns" | "WelcomeAndLeaveNotifications" | "NotificationPingRoleId" | "SwitchStreamerAndGuildEmbeds" | "BirthdayNotifications" | "AllowNotSendingOfflineNotifications" | "AutoStatusLiveRoles" | "RumbleNotifications" | "AllowAutoPublishNotifications" | "NotificationOverrides" | "UseCustomButtons" | "AllowVodFeatures" | "TikTokNotifications" | "ManageBranding" | "CustomStarboards" | "AutoThreadOnStarboard" | "StarboardRewardRole" | "Giveaways" | "GiveawayLogs" | "ModifyGiveawayWhileRunning" | "ScheduleGiveaways" | "GiveawayRequirements" | "GiveawayBonusEntries" | "GiveawayEntryLimit" | "DisableDoubleVoteEntry" | "YouTubeNotifications" | "RandomMessages" | "WeeklyBirthdayPanel" | "GameNotifications" | "GameCategoryRouting" | "GameAllTimeLowAlerts" | "GameChangelogs" | "GameRobloxTracking" | "FixUrlWebhook" | "FixUrlCustomRules" | "KickClipperSubscribe" | "WhatnotNotifications" | "ScheduledEventMessages" | "ScheduledMessageWebhooks" | "ReactionRoles" | "AdvancedRolePanels" | "KickClipForwarding" | "TwitchClipForwarding" | "ClubNotifications" | "RolePanelWebhooks" | "Fishing" | "FishingCustomization" | "FishingWebhooks" | "StreamRoles" | "RoleFilters" | "TwitterNotifications" | "TwitterLiveNotifications" | "BadgeAllGames" | "AutoRoles" | "AutoRoleTimers" | "AutoRoleInvites" | "StickyMessageRoleFilters" | "GiveawayClaims" | "GiveawayWinnerRole" | "InfluencerPanel" | "InfluencerPanelPremium" | "InfluencerPanelPlus" | "StatusRoleKeepOnOffline" | "YouTubeReplayChannel" | "LivePostUpdates" | "MultiDestination" | "InGameRewards" | "BoostNotifications" | "BoostLogsAndStreaks" | "BoostBoard" | "UnlimitedEmojiRepositions" | "BirthdayPostOptions" | "JoinAnniversaries" | "ScheduledStreams", string>;
374
+ static t: Record<"StickyMessages" | "LinkedRoles" | "StatusRoles" | "Starboards" | "KickClips" | "StatCounters" | "BaseSyncableRoles" | "FullSyncableRoles" | "LiveRole" | "VoteSkipping" | "KickAuditLogs" | "LeaderboardCommand" | "RefreshingLeaderboard" | "LeaderBoardSyncRoles" | "BetaAccess" | "PriorityNotifications" | "KickNotifications" | "TwitchNotifications" | "ImportEmojis" | "ImportEmojisWithSub" | "CustomWebhooks" | "AnyMessageEditor" | "SyncSocialUsernames" | "AutoDeleteNotifications" | "TestNotificationCommand" | "CustomCooldowns" | "WelcomeAndLeaveNotifications" | "NotificationPingRoleId" | "SwitchStreamerAndGuildEmbeds" | "BirthdayNotifications" | "AllowNotSendingOfflineNotifications" | "AutoStatusLiveRoles" | "RumbleNotifications" | "AllowAutoPublishNotifications" | "NotificationOverrides" | "UseCustomButtons" | "AllowVodFeatures" | "TikTokNotifications" | "ManageBranding" | "CustomStarboards" | "AutoThreadOnStarboard" | "StarboardRewardRole" | "Giveaways" | "GiveawayLogs" | "ModifyGiveawayWhileRunning" | "ScheduleGiveaways" | "GiveawayRequirements" | "GiveawayBonusEntries" | "GiveawayEntryLimit" | "DisableDoubleVoteEntry" | "YouTubeNotifications" | "RandomMessages" | "WeeklyBirthdayPanel" | "GameNotifications" | "GameCategoryRouting" | "GameAllTimeLowAlerts" | "GameChangelogs" | "GameRobloxTracking" | "FixUrlWebhook" | "FixUrlCustomRules" | "KickClipperSubscribe" | "WhatnotNotifications" | "ScheduledEventMessages" | "ScheduledMessageWebhooks" | "ReactionRoles" | "AdvancedRolePanels" | "KickClipForwarding" | "TwitchClipForwarding" | "ClubNotifications" | "RolePanelWebhooks" | "Fishing" | "FishingCustomization" | "FishingWebhooks" | "StreamRoles" | "RoleFilters" | "TwitterNotifications" | "TwitterLiveNotifications" | "BadgeAllGames" | "AutoRoles" | "AutoRoleTimers" | "AutoRoleInvites" | "StickyMessageRoleFilters" | "GiveawayClaims" | "GiveawayWinnerRole" | "InfluencerPanel" | "InfluencerPanelPremium" | "InfluencerPanelPlus" | "StatusRoleKeepOnOffline" | "YouTubeReplayChannel" | "LivePostUpdates" | "MultiDestination" | "InGameRewards" | "BoostNotifications" | "BoostLogsAndStreaks" | "BoostBoard" | "UnlimitedEmojiRepositions" | "BirthdayPostOptions" | "JoinAnniversaries" | "ScheduledStreams" | "RssNotifications", string>;
372
375
  static all: bigint;
373
376
  convertBitToField<T extends EnumValues<typeof GuildFeatures>>(bit: T): string | null;
374
377
  }
@@ -250,6 +250,7 @@ exports.GuildFeatures = {
250
250
  BirthdayPostOptions: 1n << 97n, // Premium: birthday posts open a thread and / or are pinned for the day (phases/birthday-upgrades/ P2).
251
251
  JoinAnniversaries: 1n << 98n, // Premium: yearly join-anniversary posts + milestone roles (phases/birthday-upgrades/ P4).
252
252
  ScheduledStreams: 1n << 99n, // Premium: scheduled-stream posts in their own channel + ping role (phases/scheduled-streams/).
253
+ RssNotifications: 1n << 100n, // Every plan: RSS / Atom feed posts (phases/rss/). Limits 1 / 5 / 15, checks 15 / 10 / 5 min.
253
254
  };
254
255
  exports.GuildFeaturesText = {
255
256
  BaseSyncableRoles: 'Basic Syncable Roles',
@@ -353,6 +354,7 @@ exports.GuildFeaturesText = {
353
354
  BirthdayPostOptions: 'Birthday Threads & Pins',
354
355
  JoinAnniversaries: 'Join Anniversaries',
355
356
  ScheduledStreams: 'Scheduled Stream Notifications',
357
+ RssNotifications: 'RSS Feed Notifications',
356
358
  };
357
359
  exports.UserFeatures = {
358
360
  HasOneServerPremium: 1n << 0n,
@@ -34,6 +34,7 @@ export declare const StreamerMessageTypeEnum: {
34
34
  readonly twitterPost: "twitterPost";
35
35
  readonly twitterLive: "twitterLive";
36
36
  readonly twitterOffline: "twitterOffline";
37
+ readonly rssPost: "rssPost";
37
38
  };
38
39
  export declare const GuildMessageTypeEnum: {
39
40
  readonly giveawayRerolled: "giveawayRerolled";
@@ -66,6 +67,7 @@ export declare const GuildMessageTypeEnum: {
66
67
  readonly twitterPost: "twitterPost";
67
68
  readonly twitterLive: "twitterLive";
68
69
  readonly twitterOffline: "twitterOffline";
70
+ readonly rssPost: "rssPost";
69
71
  };
70
72
  export declare const GuildSingleMessageTypeEnum: {
71
73
  readonly autoLiveRoleAdded: "autoLiveRoleAdded";
@@ -95,6 +97,7 @@ export declare const PlatformEnum: {
95
97
  readonly whatnot: "whatnot";
96
98
  readonly club: "club";
97
99
  readonly twitter: "twitter";
100
+ readonly rss: "rss";
98
101
  };
99
102
  export declare const ClipperCategoryEnum: {
100
103
  readonly vip: "vip";
@@ -200,6 +203,7 @@ export declare const $Enums: {
200
203
  readonly twitterPost: "twitterPost";
201
204
  readonly twitterLive: "twitterLive";
202
205
  readonly twitterOffline: "twitterOffline";
206
+ readonly rssPost: "rssPost";
203
207
  };
204
208
  readonly GuildMessageTypeEnum: {
205
209
  readonly giveawayRerolled: "giveawayRerolled";
@@ -232,6 +236,7 @@ export declare const $Enums: {
232
236
  readonly twitterPost: "twitterPost";
233
237
  readonly twitterLive: "twitterLive";
234
238
  readonly twitterOffline: "twitterOffline";
239
+ readonly rssPost: "rssPost";
235
240
  };
236
241
  readonly GuildSingleMessageTypeEnum: {
237
242
  readonly autoLiveRoleAdded: "autoLiveRoleAdded";
@@ -261,6 +266,7 @@ export declare const $Enums: {
261
266
  readonly whatnot: "whatnot";
262
267
  readonly club: "club";
263
268
  readonly twitter: "twitter";
269
+ readonly rss: "rss";
264
270
  };
265
271
  readonly ClipperCategoryEnum: {
266
272
  readonly vip: "vip";
@@ -40,6 +40,7 @@ exports.StreamerMessageTypeEnum = {
40
40
  twitterPost: 'twitterPost',
41
41
  twitterLive: 'twitterLive',
42
42
  twitterOffline: 'twitterOffline',
43
+ rssPost: 'rssPost',
43
44
  };
44
45
  exports.GuildMessageTypeEnum = {
45
46
  giveawayRerolled: 'giveawayRerolled',
@@ -73,6 +74,7 @@ exports.GuildMessageTypeEnum = {
73
74
  twitterPost: 'twitterPost',
74
75
  twitterLive: 'twitterLive',
75
76
  twitterOffline: 'twitterOffline',
77
+ rssPost: 'rssPost',
76
78
  };
77
79
  exports.GuildSingleMessageTypeEnum = {
78
80
  autoLiveRoleAdded: 'autoLiveRoleAdded',
@@ -102,6 +104,7 @@ exports.PlatformEnum = {
102
104
  whatnot: 'whatnot',
103
105
  club: 'club',
104
106
  twitter: 'twitter',
107
+ rss: 'rss',
105
108
  };
106
109
  exports.ClipperCategoryEnum = {
107
110
  vip: 'vip',
@@ -1,4 +1,4 @@
1
- export declare const FEATURE_NAMES: readonly ["freeGames", "gameChangelogs", "robloxNotifications", "fixLinks", "clipperNotifications", "scheduledMessages", "linkedRoles", "reactionRoles", "clipForwarding", "club", "whatnot", "fishing", "giveaways", "starboards", "syncedRoles", "birthdays", "statusRoles", "autoStatusLiveRoles", "streamRoles", "badgeNotifications", "kickBounties", "autoRoles", "giveawayClaims", "influencerPanel", "publicGiveaways", "publicDrops", "sitePolls", "siteAnnouncements", "feedback", "offlineGracePeriod", "vodNotifications", "youtubeReplays", "livePostUpdates", "multiDestination", "scheduledStreams", "inGame", "boostNotifications", "twitter", "voteToTest", "voteToAddSocial", "aiAssistant", "voteToUseAssistant", "assistantShareChat", "latest", "latestYoutube", "repositionEmojis", "voteToRepositionEmojis", "setupWizard", "emotes", "liveRoles", "stickyMessages", "welcomeLeave", "statCounters", "voteSkipping"];
1
+ export declare const FEATURE_NAMES: readonly ["freeGames", "gameChangelogs", "robloxNotifications", "fixLinks", "clipperNotifications", "scheduledMessages", "linkedRoles", "reactionRoles", "clipForwarding", "club", "whatnot", "fishing", "giveaways", "starboards", "syncedRoles", "birthdays", "statusRoles", "autoStatusLiveRoles", "streamRoles", "badgeNotifications", "kickBounties", "autoRoles", "giveawayClaims", "influencerPanel", "publicGiveaways", "publicDrops", "sitePolls", "siteAnnouncements", "feedback", "offlineGracePeriod", "vodNotifications", "youtubeReplays", "livePostUpdates", "multiDestination", "scheduledStreams", "inGame", "boostNotifications", "twitter", "voteToTest", "voteToAddSocial", "aiAssistant", "voteToUseAssistant", "assistantShareChat", "latest", "latestYoutube", "repositionEmojis", "voteToRepositionEmojis", "setupWizard", "emotes", "liveRoles", "stickyMessages", "welcomeLeave", "statCounters", "voteSkipping", "referralRewards", "rss"];
2
2
  export type FeatureName = (typeof FEATURE_NAMES)[number];
3
3
  export type FeatureStatus = 'off' | 'beta' | 'public';
4
4
  export type ResolvedFeature = 'public' | 'beta' | 'hidden';
@@ -59,4 +59,6 @@ exports.FEATURE_NAMES = [
59
59
  'welcomeLeave',
60
60
  'statCounters',
61
61
  'voteSkipping',
62
+ 'referralRewards',
63
+ 'rss',
62
64
  ];
@@ -19,6 +19,7 @@ export declare const IN_GAME_TYPES: {
19
19
  readonly youtube: readonly ["live", "video", "replay"];
20
20
  readonly twitter: readonly ["live", "offline", "post"];
21
21
  readonly club: readonly ["post"];
22
+ readonly rss: readonly ["post"];
22
23
  };
23
24
  export type InGamePlatform = keyof typeof IN_GAME_TYPES;
24
25
  export type InGameAlertType = (typeof IN_GAME_TYPES)[InGamePlatform][number];
@@ -25,6 +25,7 @@ exports.IN_GAME_TYPES = {
25
25
  youtube: ['live', 'video', 'replay'],
26
26
  twitter: ['live', 'offline', 'post'],
27
27
  club: ['post'],
28
+ rss: ['post'],
28
29
  };
29
30
  /** A creator may pick at most this many connected servers to show on (plan max is 10). */
30
31
  exports.MAX_IN_GAME_SERVER_PICKS = 10;
@@ -29,6 +29,7 @@ export declare const DESTINATION_TYPES: {
29
29
  readonly youtube: readonly ["live", "video", "replay"];
30
30
  readonly twitter: readonly ["live", "post"];
31
31
  readonly club: readonly ["post"];
32
+ readonly rss: readonly ["post"];
32
33
  };
33
34
  export type DestinationPlatform = keyof typeof DESTINATION_TYPES;
34
35
  export type DestinationType = (typeof DESTINATION_TYPES)[DestinationPlatform][number];
@@ -35,6 +35,7 @@ exports.DESTINATION_TYPES = {
35
35
  youtube: ['live', 'video', 'replay'],
36
36
  twitter: ['live', 'post'],
37
37
  club: ['post'],
38
+ rss: ['post'],
38
39
  };
39
40
  const SNOWFLAKE = /^\d{17,21}$/;
40
41
  const isPingTarget = (v) => typeof v === 'string' && (SNOWFLAKE.test(v) || v === 'everyone' || v === 'here');
@@ -6,6 +6,7 @@ import { TwitchStreamerZod } from './zod/twitchStreamer.zod';
6
6
  import { TiktokStreamerZod } from './zod/tiktokStreamer.zod';
7
7
  import { RumbleStreamerZod } from './zod/rumbleStreamer.zod';
8
8
  import { ClubStreamerZod } from './zod/clubStreamer.zod';
9
+ import { RssFeedZod } from './zod/rssFeed.zod';
9
10
  import { TwitterStreamerZod } from './zod/twitterStreamer.zod';
10
11
  import { WhatnotStreamerZod } from './zod/whatnotStreamer.zod';
11
12
  import { KickStreamerZod } from './zod/kickStreamer.zod';
@@ -37,6 +38,8 @@ export type RumbleStreamer = TSPrisma.TSPrismaModelsFull['RumbleStreamer'];
37
38
  export type TikTokStreamer = TSPrisma.TSPrismaModelsFull['TiktokStreamer'];
38
39
  export type YouTubeStreamer = TSPrisma.TSPrismaModelsFull['YoutubeStreamer'];
39
40
  export type ClubStreamer = TSPrisma.TSPrismaModelsFull['ClubStreamer'];
41
+ /** An RSS / Atom feed a server follows. `streamerUserName` is the feed URL lower-cased (the key); `feedUrl` keeps its case. */
42
+ export type RssFeed = TSPrisma.TSPrismaModelsFull['RssFeed'];
40
43
  export type TwitterStreamer = TSPrisma.TSPrismaModelsFull['TwitterStreamer'];
41
44
  export type WhatnotStreamer = TSPrisma.TSPrismaModelsFull['WhatnotStreamer'];
42
45
  export type GuildStarboard = TSPrisma.TSPrismaModelsFull['GuildStarboard'];
@@ -66,6 +69,7 @@ export type RumbleStreamerZod = z.infer<typeof RumbleStreamerZod.RumbleStreamerS
66
69
  export type TikTokStreamerZod = z.infer<typeof TiktokStreamerZod.TiktokStreamerSchema>;
67
70
  export type YouTubeStreamerZod = z.infer<typeof YoutubeStreamerZod.YoutubeStreamerSchema>;
68
71
  export type ClubStreamerZod = z.infer<typeof ClubStreamerZod.ClubStreamerSchema>;
72
+ export type RssFeedZod = z.infer<typeof RssFeedZod.RssFeedSchema>;
69
73
  export type TwitterStreamerZod = z.infer<typeof TwitterStreamerZod.TwitterStreamerSchema>;
70
74
  export type WhatnotStreamerZod = z.infer<typeof WhatnotStreamerZod.WhatnotStreamerSchema>;
71
75
  export type GuildStarboardZod = z.infer<typeof GuildStarboardZod.GuildStarboardSchema>;
@@ -327,6 +327,19 @@ export declare const placeholders: {
327
327
  randomMessage: string;
328
328
  member: string;
329
329
  };
330
+ rss: {
331
+ platform: string;
332
+ postUrl: string;
333
+ creatorName: string;
334
+ postTitle: string;
335
+ postAuthor: string;
336
+ pingRole: string;
337
+ postText: string;
338
+ thumbnail: string;
339
+ publishDate: string;
340
+ randomMessage: string;
341
+ member: string;
342
+ };
330
343
  };
331
344
  birthday: {
332
345
  username: string;
@@ -1220,6 +1233,35 @@ export declare const messages: {
1220
1233
  url?: undefined;
1221
1234
  })[];
1222
1235
  };
1236
+ rss: {
1237
+ content: string;
1238
+ embed: {
1239
+ author: {
1240
+ name: string;
1241
+ url: string;
1242
+ };
1243
+ title: string;
1244
+ url: string;
1245
+ description: string;
1246
+ color: number;
1247
+ image: {
1248
+ url: string;
1249
+ };
1250
+ footer: {
1251
+ text: string;
1252
+ icon_url: string;
1253
+ };
1254
+ };
1255
+ buttons: ({
1256
+ label: string;
1257
+ style: number;
1258
+ url: string;
1259
+ } | {
1260
+ label: string;
1261
+ style: number;
1262
+ url?: undefined;
1263
+ })[];
1264
+ };
1223
1265
  };
1224
1266
  birthday: {
1225
1267
  content: string;
@@ -338,6 +338,20 @@ exports.placeholders = {
338
338
  'randomMessage': 'Example Message',
339
339
  'member': '<@123456789>',
340
340
  },
341
+ // RSS feeds: {creatorName} is the feed's title, {platform} the site's domain.
342
+ rss: {
343
+ 'platform': 'example.com',
344
+ 'postUrl': 'https://example.com/post',
345
+ 'creatorName': 'Example Blog',
346
+ 'postTitle': 'Example post title',
347
+ 'postAuthor': 'Example Author',
348
+ 'pingRole': '<@&123456789>',
349
+ 'postText': 'Example post summary',
350
+ 'thumbnail': 'https://example.com',
351
+ 'publishDate': '<t:1640995200:R>',
352
+ 'randomMessage': 'Example Message',
353
+ 'member': '<@123456789>',
354
+ },
341
355
  },
342
356
  birthday: {
343
357
  'username': 'Example',
@@ -1160,6 +1174,23 @@ exports.messages = {
1160
1174
  },
1161
1175
  buttons: exports.buttons.post,
1162
1176
  },
1177
+ // RSS feeds: the item title is the embed title, the feed is the author line. RSS orange.
1178
+ rss: {
1179
+ content: '{pingRole} {randomMessage}',
1180
+ embed: {
1181
+ author: { name: '{creatorName}', url: '{postUrl}' },
1182
+ title: '{postTitle}',
1183
+ url: '{postUrl}',
1184
+ description: '{postText}',
1185
+ color: 0xf26522,
1186
+ image: { url: '{thumbnail}' },
1187
+ footer: {
1188
+ text: 'Powered by Noti.',
1189
+ icon_url: 'https://noti.bot/logo.png',
1190
+ },
1191
+ },
1192
+ buttons: exports.buttons.post,
1193
+ },
1163
1194
  },
1164
1195
  birthday: {
1165
1196
  content: '{userMention}',
@@ -38,6 +38,9 @@ export type GuildPlanType = {
38
38
  defaultTiktokConnections: number | null;
39
39
  defaultWhatnotConnections: number | null;
40
40
  defaultClubConnections: number | null;
41
+ defaultRssConnections: number | null;
42
+ /** RSS check speed in minutes (15 / 10 / 5). */
43
+ rssPollMinutes: number | null;
41
44
  defaultTwitterConnections: number | null;
42
45
  defaultGameConnections: number | null;
43
46
  defaultRobloxConnections: number | null;
@@ -56,6 +56,7 @@ export declare const ClientZod: {
56
56
  whatnot: "whatnot";
57
57
  club: "club";
58
58
  twitter: "twitter";
59
+ rss: "rss";
59
60
  }>;
60
61
  }, z.core.$strip>>>;
61
62
  twitchCredentials: z.ZodNullable<z.ZodLazy<z.ZodObject<{
@@ -117,6 +118,7 @@ export declare const ClientZod: {
117
118
  whatnot: "whatnot";
118
119
  club: "club";
119
120
  twitter: "twitter";
121
+ rss: "rss";
120
122
  }>;
121
123
  }, z.core.$strip>;
122
124
  };