Skip to content

Commit 0030830

Browse files
committed
feat: install discord.js as dev dependency and directly use its client types
BREAKING: drop support for discord.js v12 and lower Tested typing using discord.js v13 and it was compatible
1 parent b7e02fe commit 0030830

6 files changed

Lines changed: 591 additions & 67 deletions

File tree

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.7.0
1+
18

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

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

11-
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!
11+
BLAPI is a fully typed package to handle posting your discord bot stats to botlists.
1212

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

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

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

46-
### With discord.js (version 12.x or 13.x)
46+
### With discord.js (version 13.x or 14.x)
4747

4848
```js
4949
import Discord from "discord.js";

0 commit comments

Comments
 (0)