Not published yet. Both clients are written and tested, and go to npm and
PyPI under the names below shortly. Until then every guide here works with
plain HTTP; the autoposting guide shows that form.
JavaScript
npm install discordbotlist-sdk — no dependencies, Node 18+.Python
pip install discordbotlist — async, no hard dependencies.The whole integration
Sharded bots post the total, not one shard’s slice. A shard posting its own
count makes the listing show whichever shard checked in last — the number then
jumps around and means nothing.
Vote rewards
nextVoteAt / next_vote_at is the cooldown’s end, so your bot can say when to
come back rather than “you have already voted”.
Verifying a webhook
Both libraries verify and parse in one call, and return nothing at all when the signature does not match — so there is no boolean to forget.JSON.parse then JSON.stringify — or json.loads then json.dumps —
produces different bytes, and the HMAC of different bytes never matches.
Errors you can branch on
One class per status, so nothing has to read a message to decide what to do.
Both clients already retry a 429 or a 5xx once, waiting the interval the API
asked for.