diff --git a/README.md b/README.md index e8ab1eb3..bf4e4b53 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ const { APIUserData } = require('discord-api-types'); import { APIUserData } from 'discord-api-types'; ``` -You should instead consider adding the API version you want to target by appending `/v*`, where the `*` represends the API version. +You should instead consider adding the API version you want to target by appending `/v*`, where the `*` represents the API version. ```js const { APIUserData } = require('discord-api-types/v6'); diff --git a/v6/payloads/gateway.ts b/v6/payloads/gateway.ts index 5570ec77..98e72a26 100644 --- a/v6/payloads/gateway.ts +++ b/v6/payloads/gateway.ts @@ -47,11 +47,11 @@ export interface GatewayPresenceUpdate { } export enum PresenceUpdateStatus { - Online = 'online', - Idle = 'idle', DoNotDisturb = 'dnd', + Idle = 'idle', Invisible = 'invisible', - Offline = 'offline' + Offline = 'offline', + Online = 'online', } /** diff --git a/v6/payloads/guild.ts b/v6/payloads/guild.ts index fb3e39f1..85da07b4 100644 --- a/v6/payloads/guild.ts +++ b/v6/payloads/guild.ts @@ -148,20 +148,20 @@ export enum GuildSystemChannelFlags { * https://discord.com/developers/docs/resources/guild#guild-object-guild-features */ export enum GuildFeature { - INVITE_SPLASH = 'INVITE_SPLASH', - VIP_REGIONS = 'VIP_REGIONS', - VANITY_URL = 'VANITY_URL', - VERIFIED = 'VERIFIED', - PARTNERED = 'PARTNERED', - COMMUNITY = 'COMMUNITY', - COMMERCE = 'COMMERCE', - NEWS = 'NEWS', - DISCOVERABLE = 'DISCOVERABLE', - FEATURABLE = 'FEATURABLE', ANIMATED_ICON = 'ANIMATED_ICON', BANNER = 'BANNER', - WELCOME_SCREEN_ENABLED = 'WELCOME_SCREEN_ENABLED', + COMMERCE = 'COMMERCE', + COMMUNITY = 'COMMUNITY', + DISCOVERABLE = 'DISCOVERABLE', + FEATURABLE = 'FEATURABLE', + INVITE_SPLASH = 'INVITE_SPLASH', + NEWS = 'NEWS', + PARTNERED = 'PARTNERED', RELAY_ENABLED = 'RELAY_ENABLED', + VANITY_URL = 'VANITY_URL', + VERIFIED = 'VERIFIED', + VIP_REGIONS = 'VIP_REGIONS', + WELCOME_SCREEN_ENABLED = 'WELCOME_SCREEN_ENABLED', } /** @@ -246,11 +246,11 @@ export interface APIBan { * https://discord.com/developers/docs/resources/guild#get-guild-widget-image-widget-style-options */ export enum GuildWidgetStyle { - Shield = 'shield', Banner1 = 'banner1', Banner2 = 'banner2', Banner3 = 'banner3', Banner4 = 'banner4', + Shield = 'shield', } export interface APIGuildWelcomeScreen { diff --git a/v6/rest/channel.ts b/v6/rest/channel.ts index 81233e27..e97d3ab0 100644 --- a/v6/rest/channel.ts +++ b/v6/rest/channel.ts @@ -28,9 +28,9 @@ export interface APIOverwriteSend { * https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mention-types */ export enum AllowedMentionsTypes { + Everyone = 'everyone', Role = 'roles', User = 'users', - Everyone = 'everyone', } /**