feat(*): use enums for consistency and speed (#5843)

Co-authored-by: Antonio Román <kyradiscord@gmail.com>
This commit is contained in:
Shubham Parihar
2021-06-15 17:03:31 +05:30
committed by GitHub
parent 671436cbb8
commit f7eeccba4b
9 changed files with 100 additions and 69 deletions

View File

@@ -31,7 +31,7 @@ class Sticker extends Base {
/**
* The format of the sticker
* @type {StickerFormatTypes}
* @type {StickerFormatType}
*/
this.format = StickerFormatTypes[sticker.format_type];