Releases: Top-gg-Community/node-sdk
Releases · Top-gg-Community/node-sdk
v3.0.6 | Fixed Webhook Parser
Fixed an issue where if a user was using a different body parser, e.g body-parser
, that uses the raw-body
package, the parser would fail.
Now returns req.body content if one is available before parsing.
v3.0.5 | Fix to documentation
Fixes Api.isWeekend() JSDOC example.
v3.0.4 | Add documentation
v2.4.1
- Updated repo links
- Fixes to typings (#26)
v2.4.0
- Added support for Discord.js v12 to the autoposter
v2.3.1
- Replaced discordbots.org with the new domain, top.gg
- Added Github Actions for publishing to npm
v2.3.0
- Preparations for the API change that will require a valid token for all API requests.
- Merged Pull Request #13
v2.2.0
- Added
isWeekend()
to check if the weekend multiplier is currently active.
- Webhooks now contain an
isWeekend
property to signify that the vote in question counted for two.
- Removed snekfetch as a dependency.
v2.1.0
- Added a way to link existing http servers to the webhook
- Added events for the autoposter
DBLAPI
now extends EventEmitter
- New event
posted
- New event
error
- Updated snekfetch to version 4.0.2
v2.0.1
- Fixed typings
- Updated examples in the readme to what they are on the documentation website