chore(Enums): sort some enums alphabetically (#4)

This commit is contained in:
Vlad Frangu
2020-09-10 01:36:27 +03:00
committed by GitHub
parent 512b9fed71
commit 01b9c0e493
4 changed files with 17 additions and 17 deletions

View File

@@ -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');

View File

@@ -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',
}
/**

View File

@@ -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 {

View File

@@ -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',
}
/**