discord-typings
Advanced tools
Comparing version 10.2.0 to 10.3.0
{ | ||
"name": "discord-typings", | ||
"version": "10.2.0", | ||
"version": "10.3.0", | ||
"description": "Typings for data returned by Discord (unofficial)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,3 +6,3 @@ import { Snowflake } from "../Reference"; | ||
*/ | ||
export type AutoModerationTriggerType = 1 | 2 | 3 | 4; | ||
export type AutoModerationTriggerType = 1 | 2 | 3 | 4 | 5; | ||
@@ -48,2 +48,3 @@ /** | ||
keyword_filter?: Array<string>; | ||
mention_total_limit?: number; | ||
} | ||
@@ -50,0 +51,0 @@ |
@@ -89,2 +89,3 @@ import { Snowflake } from "../Reference"; | ||
flags?: number; | ||
total_message_sent?: number; | ||
} | ||
@@ -222,2 +223,3 @@ | ||
stickers?: Array<import("./Sticker").Sticker>; | ||
position?: number; | ||
} | ||
@@ -224,0 +226,0 @@ |
@@ -78,3 +78,3 @@ import { Snowflake } from "../Reference"; | ||
*/ | ||
export type GuildFeature = "ANIMATION_BANNER" | "ANIMATED_ICON" | "AUTO_MODERATION" | "BANNER" | "COMMERCE" | "COMMUNITY" | "DISCOVERABLE" | "FEATURABLE" | "INVITE_SPLASH" | "MEMBER_VERIFICATION_GATE_ENABLED" | "MONETIZATION_ENABLED" | "MORE_STICKERS" | "NEWS" | "PARTNERED" | "PREVIEW_ENABLED" | "PRIVATE_THREADS" | "ROLE_ICONS" | "SEVEN_DAY_THREAD_ARCHIVE" | "THREE_DAY_THREAD_ARCHIVE" | "TICKETED_EVENTS_ENABLED" | "VANITY_URL" | "VERIFIED" | "VIP_REGIONS" | "WELCOME_SCREEN_ENABLED"; | ||
export type GuildFeature = "ANIMATION_BANNER" | "ANIMATED_ICON" | "AUTO_MODERATION" | "BANNER" | "COMMUNITY" | "DISCOVERABLE" | "FEATURABLE" | "INVITE_SPLASH" | "MEMBER_VERIFICATION_GATE_ENABLED" | "MONETIZATION_ENABLED" | "MORE_STICKERS" | "NEWS" | "PARTNERED" | "PREVIEW_ENABLED" | "PRIVATE_THREADS" | "ROLE_ICONS" | "SEVEN_DAY_THREAD_ARCHIVE" | "THREE_DAY_THREAD_ARCHIVE" | "TICKETED_EVENTS_ENABLED" | "VANITY_URL" | "VERIFIED" | "VIP_REGIONS" | "WELCOME_SCREEN_ENABLED"; | ||
@@ -81,0 +81,0 @@ /** |
@@ -35,3 +35,3 @@ import { Snowflake } from "../Reference"; | ||
name: string; | ||
type: string; | ||
type: ConnectionService; | ||
revoked?: boolean; | ||
@@ -46,4 +46,23 @@ integrations?: Array<import("./Guild").Integration>; | ||
/** | ||
* https://discord.com/developers/docs/resources/user#connection-object-services | ||
*/ | ||
export type ConnectionService = "battlenet" | ||
| "epicgames" | ||
| "facebook" | ||
| "github" | ||
| "leagueoflegends" | ||
| "playstation" | ||
| "reddit" | ||
| "samsunggalaxy" | ||
| "spotify" | ||
| "skype" | ||
| "steam" | ||
| "twitch" | ||
| "twitter" | ||
| "xbox" | ||
| "youtube" | ||
/** | ||
* https://discord.com/developers/docs/resources/user#connection-object-visibility-types | ||
*/ | ||
export type Visibility = 0 | 1; |
@@ -161,2 +161,3 @@ import { Snowflake } from "../Reference"; | ||
application: import("../Resources/Application").Application; | ||
resume_gateway_url: string; | ||
} | ||
@@ -163,0 +164,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68657
1998