1.1.2-patch2 • Published 4 years ago

dbiowrap v1.1.2-patch2

Weekly downloads
4
License
MIT
Repository
github
Last release
4 years ago

dbiowrap

The official wrapper for the discord.bio REST and WebSocket APIs.

NPM

This wrapper is completely modular, with REST, WebSocket and caching features all able to be controlled and enabled/disabled independantly.

If you have any queries please first refer to the documentation. If your problem cannot be solved there, you can join the official discord.bio discord server and ask there.

Install

npm i dbiowrap

Examples

Internally Discord User objects are stored differently than they were received from the API, which is why you may see "weird" data when inspecting these objects, (e.g. by using console.log). However, getters are present that let you use these objects normally, so even though user._id stores the User ID as a BigInt, user.id still returns the User ID as a string

Example implementations can be found in the examples folder.

Contributing

To contribute, open a PR with your requested changes.

1.1.2

4 years ago

1.1.2-patch2

4 years ago

1.1.2-patch1

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.7-patch4

4 years ago

1.0.7-patch3

4 years ago

1.0.7-patch2

4 years ago

1.0.7-patch1

4 years ago

1.0.7

4 years ago

1.0.4

4 years ago

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago