mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-06-01 08:20:10 +00:00
chore(Enums): sort some enums alphabetically (#4)
This commit is contained in:
@@ -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');
|
||||
|
||||
@@ -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',
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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',
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user