Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use discord.js as dependency and use its client types #129

Merged
merged 4 commits into from
Oct 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.7.0
18
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@

[![nodei](https://nodei.co/npm/blapi.png)](https://nodei.co/npm/blapi/)

BLAPI is a package to handle posting your discord bot stats to botlists. Now typed and ready to be used in your Typescript powered bots!
BLAPI is a fully typed package to handle posting your discord bot stats to botlists.

It's intended to be used with discord.js v12 or v13, though you can also manually post your stats.
It's intended to be used with discord.js v13 or v14, though you can also manually post your stats.

BLAPI fully supports external and discord.js internal sharding with and without the use of the [BotBlock API](https://botblock.org/api/docs#count).

Expand Down Expand Up @@ -43,7 +43,7 @@ import { handle } from "blapi"; // Just the functions you want to use
const blapi = require("blapi");
```

### With discord.js (version 12.x or 13.x)
### With discord.js (version 13.x or 14.x)

```js
import Discord from "discord.js";
Expand Down
Loading