typed-discord-api
v0.2.2
Published
Discord API types that update quickly
Downloads
28
Readme
Typed Discord API
Installing
Latest and stable version:
npm install --save-dev typed-discord-api
Starting
Importing basic types and using
import { UserPayload } from 'typed-discord-api';
const { UserPayload } = require('typed-discord-api');
How we document
- All types suffixed with
Payload
are payloads sent by Discord- For example:
UserPayload
orGuildPayload
- For example:
- No miscellaneous types, only types related to the Discord API
- Some types are not suffixed with
Payload
(as mentioned above), you can find them in theglobals
file - All types prefixed with
Gateway
are data that only comes directly related to the Gateway - All types prefixed with
REST
are data that comes from a Discord API request