Skip to content

Commit 4b6060d

Browse files
authored
feat: bump discord.js in create-discord-bot/app (#11048)
* feat: bump discord.js in create-discord-bot/app * chore: forgot core
1 parent b1d96e2 commit 4b6060d

File tree

10 files changed

+15
-15
lines changed

10 files changed

+15
-15
lines changed

packages/create-discord-bot/template/Bun/JavaScript/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"start": "bun run src/index.[REPLACE_IMPORT_EXT]"
1212
},
1313
"dependencies": {
14-
"@discordjs/core": "^2.2.0",
15-
"discord.js": "^14.21.0"
14+
"@discordjs/core": "^2.2.1",
15+
"discord.js": "^14.22.0"
1616
},
1717
"devDependencies": {
1818
"eslint": "^9.30.1",

packages/create-discord-bot/template/Bun/TypeScript/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"start": "bun run src/index.[REPLACE_IMPORT_EXT]"
1212
},
1313
"dependencies": {
14-
"@discordjs/core": "^2.2.0",
15-
"discord.js": "^14.21.0"
14+
"@discordjs/core": "^2.2.1",
15+
"discord.js": "^14.22.0"
1616
},
1717
"devDependencies": {
1818
"@sapphire/ts-config": "^5.0.1",

packages/create-discord-bot/template/Deno/src/commands/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { RESTPostAPIApplicationCommandsJSONBody, CommandInteraction } from 'npm:discord.js@^14.20.0';
1+
import type { RESTPostAPIApplicationCommandsJSONBody, CommandInteraction } from 'npm:discord.js@^14.22.0';
22
import { z } from 'npm:zod@^3.24.1';
33
import type { StructurePredicate } from '../util/loaders.ts';
44

packages/create-discord-bot/template/Deno/src/events/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { ClientEvents } from 'npm:discord.js@^14.20.0';
1+
import type { ClientEvents } from 'npm:discord.js@^14.22.0';
22
import { z } from 'npm:zod@^3.24.1';
33
import type { StructurePredicate } from '../util/loaders.ts';
44

packages/create-discord-bot/template/Deno/src/events/interactionCreate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Events } from 'npm:discord.js@^14.20.0';
1+
import { Events } from 'npm:discord.js@^14.22.0';
22
import type { Event } from './index.ts';
33
import { loadCommands } from '../util/loaders.ts';
44

packages/create-discord-bot/template/Deno/src/events/ready.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Events } from 'npm:discord.js@^14.20.0';
1+
import { Events } from 'npm:discord.js@^14.22.0';
22
import type { Event } from './index.ts';
33

44
export default {

packages/create-discord-bot/template/Deno/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'https://deno.land/[email protected]/dotenv/load.ts';
22
import { URL } from 'node:url';
3-
import { Client, GatewayIntentBits } from 'npm:discord.js@^14.20.0';
3+
import { Client, GatewayIntentBits } from 'npm:discord.js@^14.22.0';
44
import { loadEvents } from './util/loaders.ts';
55

66
// Initialize the client

packages/create-discord-bot/template/Deno/src/util/deploy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import 'https://deno.land/[email protected]/dotenv/load.ts';
22
import { URL } from 'node:url';
3-
import { API } from 'npm:@discordjs/core@^2.1.1/http-only';
4-
import { REST } from 'npm:discord.js@^14.20.0';
3+
import { API } from 'npm:@discordjs/core@^2.2.1/http-only';
4+
import { REST } from 'npm:discord.js@^14.22.0';
55
import { loadCommands } from './loaders.ts';
66

77
const commands = await loadCommands(new URL('../commands/', import.meta.url));

packages/create-discord-bot/template/JavaScript/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"deploy": "node --env-file=.env src/util/deploy.js"
1212
},
1313
"dependencies": {
14-
"@discordjs/core": "^2.2.0",
15-
"discord.js": "^14.21.0"
14+
"@discordjs/core": "^2.2.1",
15+
"discord.js": "^14.22.0"
1616
},
1717
"devDependencies": {
1818
"eslint": "^9.30.1",

packages/create-discord-bot/template/TypeScript/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"start": "node --env-file=.env dist/index.js"
1313
},
1414
"dependencies": {
15-
"@discordjs/core": "^2.2.0",
16-
"discord.js": "^14.21.0"
15+
"@discordjs/core": "^2.2.1",
16+
"discord.js": "^14.22.0"
1717
},
1818
"devDependencies": {
1919
"@sapphire/ts-config": "^5.0.1",

0 commit comments

Comments
 (0)