diff --git a/src/structures/Guild.js b/src/structures/Guild.js index 0988a5f32..8379b88c6 100644 --- a/src/structures/Guild.js +++ b/src/structures/Guild.js @@ -617,7 +617,7 @@ class Guild extends AnonymousGuild { * An object containing information about a guild's vanity invite. * @typedef {Object} Vanity * @property {?string} code Vanity invite code - * @property {?number} uses How many times this invite has been used + * @property {number} uses How many times this invite has been used */ /** diff --git a/typings/index.d.ts b/typings/index.d.ts index 791a0060d..59350c7e8 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -4812,7 +4812,7 @@ export type UserResolvable = User | Snowflake | Message | GuildMember | ThreadMe export interface Vanity { code: string | null; - uses: number | null; + uses: number; } export type VerificationLevel = keyof typeof VerificationLevels;