seyfert 4.0.1-dev-20556316054.0 → 4.0.1-dev-21084303198.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.
|
@@ -532,7 +532,19 @@ export declare enum GuildFeature {
|
|
|
532
532
|
/**
|
|
533
533
|
* Guild has enabled the welcome screen
|
|
534
534
|
*/
|
|
535
|
-
WelcomeScreenEnabled = "WELCOME_SCREEN_ENABLED"
|
|
535
|
+
WelcomeScreenEnabled = "WELCOME_SCREEN_ENABLED",
|
|
536
|
+
/**
|
|
537
|
+
* Guild has access to guest invites.
|
|
538
|
+
*/
|
|
539
|
+
GuestsEnabled = "GUESTS_ENABLED",
|
|
540
|
+
/**
|
|
541
|
+
* Guild has access to set guild tags.
|
|
542
|
+
*/
|
|
543
|
+
GuildTags = "GUILD_TAGS",
|
|
544
|
+
/**
|
|
545
|
+
* Guild is able to set gradient colors to roles.
|
|
546
|
+
*/
|
|
547
|
+
EnhancedRoleColors = "ENHANCED_ROLE_COLORS"
|
|
536
548
|
}
|
|
537
549
|
/**
|
|
538
550
|
* https://discord.com/developers/docs/resources/guild#guild-preview-object
|
|
@@ -265,6 +265,18 @@ var GuildFeature;
|
|
|
265
265
|
* Guild has enabled the welcome screen
|
|
266
266
|
*/
|
|
267
267
|
GuildFeature["WelcomeScreenEnabled"] = "WELCOME_SCREEN_ENABLED";
|
|
268
|
+
/**
|
|
269
|
+
* Guild has access to guest invites.
|
|
270
|
+
*/
|
|
271
|
+
GuildFeature["GuestsEnabled"] = "GUESTS_ENABLED";
|
|
272
|
+
/**
|
|
273
|
+
* Guild has access to set guild tags.
|
|
274
|
+
*/
|
|
275
|
+
GuildFeature["GuildTags"] = "GUILD_TAGS";
|
|
276
|
+
/**
|
|
277
|
+
* Guild is able to set gradient colors to roles.
|
|
278
|
+
*/
|
|
279
|
+
GuildFeature["EnhancedRoleColors"] = "ENHANCED_ROLE_COLORS";
|
|
268
280
|
})(GuildFeature || (exports.GuildFeature = GuildFeature = {}));
|
|
269
281
|
/**
|
|
270
282
|
* https://discord.com/developers/docs/resources/guild#integration-object-integration-expire-behaviors
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Permissions, Snowflake } from '..';
|
|
2
|
-
import type { APIBan, APIChannel, APIDMChannel, APIExtendedInvite, APIGroupDMChannel, APIGuild, APIGuildIntegration, APIGuildMember, APIGuildMembershipScreening, APIGuildOnboarding, APIGuildOnboardingPrompt, APIGuildOnboardingPromptOption, APIGuildPreview, APIGuildWelcomeScreen, APIGuildWidget, APIGuildWidgetSettings, APIRole, APIThreadList, APIVoiceRegion, GuildDefaultMessageNotifications, GuildExplicitContentFilter, GuildFeature, GuildMFALevel, GuildSystemChannelFlags, GuildVerificationLevel, GuildWidgetStyle } from '../payloads';
|
|
2
|
+
import type { APIBan, APIChannel, APIDMChannel, APIExtendedInvite, APIGroupDMChannel, APIGuild, APIGuildIntegration, APIGuildMember, APIGuildMembershipScreening, APIGuildOnboarding, APIGuildOnboardingPrompt, APIGuildOnboardingPromptOption, APIGuildPreview, APIGuildWelcomeScreen, APIGuildWidget, APIGuildWidgetSettings, APIRole, APIRoleColors, APIThreadList, APIVoiceRegion, GuildDefaultMessageNotifications, GuildExplicitContentFilter, GuildFeature, GuildMFALevel, GuildSystemChannelFlags, GuildVerificationLevel, GuildWidgetStyle } from '../payloads';
|
|
3
3
|
import type { AddUndefinedToPossiblyUndefinedPropertiesOfInterface, DistributiveOmit, DistributivePick, Nullable, StrictPartial } from '../utils';
|
|
4
4
|
import type { RESTPutAPIChannelPermissionJSONBody } from './channel';
|
|
5
5
|
export interface APIGuildCreateOverwrite extends RESTPutAPIChannelPermissionJSONBody {
|
|
@@ -552,6 +552,10 @@ export interface RESTPostAPIGuildRoleJSONBody {
|
|
|
552
552
|
* @default 0
|
|
553
553
|
*/
|
|
554
554
|
color?: number | null | undefined;
|
|
555
|
+
/**
|
|
556
|
+
* The colors of the role.
|
|
557
|
+
*/
|
|
558
|
+
colors?: APIRoleColors;
|
|
555
559
|
/**
|
|
556
560
|
* Whether the role should be displayed separately in the sidebar
|
|
557
561
|
*
|
|
@@ -610,6 +614,10 @@ export interface RESTPatchAPIGuildRoleJSONBody {
|
|
|
610
614
|
* RGB color value
|
|
611
615
|
*/
|
|
612
616
|
color?: number | null | undefined;
|
|
617
|
+
/**
|
|
618
|
+
* The colors of the role.
|
|
619
|
+
*/
|
|
620
|
+
colors?: APIRoleColors;
|
|
613
621
|
/**
|
|
614
622
|
* Whether the role should be displayed separately in the sidebar
|
|
615
623
|
*/
|