diff --git a/typings/index.d.ts b/typings/index.d.ts index e0b12db2d..fdabb0426 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -7,6 +7,23 @@ declare enum ActivityTypes { COMPETING = 5, } +declare enum ApplicationCommandOptionTypes { + SUB_COMMAND = 1, + SUB_COMMAND_GROUP = 2, + STRING = 3, + INTEGER = 4, + BOOLEAN = 5, + USER = 6, + CHANNEL = 7, + ROLE = 8, + MENTIONABLE = 9, +} + +declare enum ApplicationCommandPermissionTypes { + ROLE = 1, + USER = 2, +} + declare enum ChannelType { text = 0, dm = 1, @@ -150,8 +167,6 @@ declare module 'discord.js' { APIRole, APIUser, Snowflake as APISnowflake, - ApplicationCommandOptionType as ApplicationCommandOptionTypes, - ApplicationCommandPermissionType as ApplicationCommandPermissionTypes, } from 'discord-api-types/v8'; import { EventEmitter } from 'events'; import { PathLike } from 'fs';