feat: new Nitro type

Nitro basic
This commit is contained in:
March 7th 2022-10-26 18:57:30 +07:00
parent f044898767
commit db696d3e16
2 changed files with 5 additions and 3 deletions

View File

@ -51,13 +51,14 @@ exports.stickerAnimationMode = createEnum(['ALWAYS', 'INTERACTION', 'NEVER']);
/**
* All available nitro types:
* * `NONE` - None
* * `CLASSIC` - Nitro Classic
* * `NITRO_CLASSIC` - Nitro Classic
* * `NITRO_BOOST` - Nitro
* * `UNKNOWN` - New nitro (maybe Nitro Lite / Basic ???)
* * `NITRO_BASIC` - Nitro Basic
* * `UNKNOWN` - Unknown
* @typedef {string} NitroType
* @see {@link https://discord.com/developers/docs/resources/user#user-object-premium-types}
*/
exports.NitroType = createEnum(['NONE', 'NITRO_CLASSIC', 'NITRO_BOOST']);
exports.NitroType = createEnum(['NONE', 'NITRO_CLASSIC', 'NITRO_BOOST', 'NITRO_BASIC']);
/**
* All available HypeSquad types:

1
typings/enums.d.ts vendored
View File

@ -26,6 +26,7 @@ export const enum NitroType {
NONE = 0,
NITRO_CLASSIC = 1,
NITRO_BOOST = 2,
NITRO_BASIC = 3,
}
export const enum RelationshipTypes {