Skip to content

Commit b0a11c6

Browse files
committed
fixup! chore: update to discord.js 13.x
1 parent 2f1d03e commit b0a11c6

File tree

3 files changed

+12
-41
lines changed

3 files changed

+12
-41
lines changed

package-lock.json

Lines changed: 8 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@types/ws": "^7.4.6",
4242
"@typescript-eslint/eslint-plugin": "^4.28.2",
4343
"@typescript-eslint/parser": "^4.28.2",
44-
"discord-api-types": "^0.19.0-next.f393ba520d7d6d2aacaca7b3ca5d355fab614f6e",
44+
"discord-api-types": "^0.22.0",
4545
"eslint": "^7.30.0",
4646
"jest": "^27.0.6",
4747
"nodemon": "^2.0.12",
@@ -52,9 +52,9 @@
5252
"typescript": "^4.3.5"
5353
},
5454
"engines": {
55-
"node": "16.x"
55+
"node": ">=16.6.0"
5656
},
5757
"volta": {
58-
"node": "16.4.2"
58+
"node": "16.6.1"
5959
}
6060
}

src/framework/command/Command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import type {
1111
APIRole,
1212
APIInteractionDataResolvedGuildMember,
1313
APIInteractionDataResolvedChannel,
14-
} from 'discord-api-types';
14+
} from 'discord-api-types/v9';
1515
import type { Logger } from 'pino';
1616
import { Base, BaseConfig } from '../Base';
1717

0 commit comments

Comments
 (0)