0.1.0 • Published 1 year ago

@discokit/types v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

@discokit/types

Common types for Discokit

API Types

Types prefixed with API are raw objects from the Discord API. Types with the same name, but without the API prefix are the ones you will get from Discokit, these have been transformed by a transform function.

Transform functions are functions which take in a raw API object and returns a Discokit object, certain types such as bitfields are then turned into the appropiate bitfield class, and properties will be in camelCase.

0.1.0

1 year ago