mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
feat(*): use enums for consistency and speed (#5843)
Co-authored-by: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
@@ -31,7 +31,7 @@ class Sticker extends Base {
|
||||
|
||||
/**
|
||||
* The format of the sticker
|
||||
* @type {StickerFormatTypes}
|
||||
* @type {StickerFormatType}
|
||||
*/
|
||||
this.format = StickerFormatTypes[sticker.format_type];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user