diff --git a/structures/GuildIntegration.ts b/structures/GuildIntegration.ts index e8d8415..c916b61 100644 --- a/structures/GuildIntegration.ts +++ b/structures/GuildIntegration.ts @@ -3,18 +3,18 @@ import Base from './Base'; export default interface GuildIntegration extends Base { account: IntegrationAccount; application?: IntegrationApplication; - enable_emoticons: boolean; + enable_emoticons?: boolean; enabled: boolean; - expire_behaviour: IntegrationExpireBehaviour; - expire_grace_period: number; + expire_behavior?: IntegrationExpireBehavior; + expire_grace_period?: number; name: string; - revoked: boolean; - role_id: string; - subscriber_count: number; + revoked?: boolean; + role_id?: string; + subscriber_count?: number; synced_at: Date; - syncing: boolean; + syncing?: boolean; type: InterationType; - user: unknown; // TODO User + user?: unknown; // TODO User } export interface BotIntegration extends Base { @@ -37,7 +37,7 @@ export interface IntegrationApplication extends Base { summary: string; } -export enum IntegrationExpireBehaviour { +export enum IntegrationExpireBehavior { REMOVE_ROLE, KICK, } diff --git a/structures/index.ts b/structures/index.ts index 450117f..060167f 100644 --- a/structures/index.ts +++ b/structures/index.ts @@ -3,7 +3,7 @@ export { default as BotGateway } from './Gateway'; export { default as Channel, ChannelPartial, WebhookChannel, ChannelType, ThreadMember, ThreadMetadata, VideoQuality } from './Channel'; export { default as Emoji, PartialEmoji } from './Emoji'; export { default as Guild, InviteGuild, TemplateGuild, WebhookGuild, DefaultMessageNotificationLevel, ExplicitContentFilterLevel, GuildFeatures, MFALevel, PremiumTier, SystemChannelFlags, VerificationLevel, WelcomeScreen, WelcomeScreenChannel } from './Guild'; -export { default as GuildIntegration, BotIntegration, IntegrationAccount, IntegrationApplication, IntegrationExpireBehaviour, InterationType } from './GuildIntegration'; +export { default as GuildIntegration, BotIntegration, IntegrationAccount, IntegrationApplication, IntegrationExpireBehavior, InterationType } from './GuildIntegration'; export { default as GuildMember } from './GuildMember'; export { default as GuildPreview } from './GuildPreview'; export { default as GuildTemplate } from './GuildTemplate';