feat: Upgrade create-discord-bot dependencies (#10673)

feat: upgrade cdb deps
This commit is contained in:
Jiralite
2025-01-01 23:13:06 +00:00
committed by GitHub
parent bc3a0c8389
commit a111cddcea
10 changed files with 13 additions and 13 deletions

View File

@@ -11,8 +11,8 @@
"start": "bun run src/index.[REPLACE_IMPORT_EXT]" "start": "bun run src/index.[REPLACE_IMPORT_EXT]"
}, },
"dependencies": { "dependencies": {
"@discordjs/core": "^2.0.0", "@discordjs/core": "^2.0.1",
"discord.js": "^14.16.3" "discord.js": "^14.17.0"
}, },
"devDependencies": { "devDependencies": {
"eslint": "^8.57.1", "eslint": "^8.57.1",

View File

@@ -11,8 +11,8 @@
"start": "bun run src/index.[REPLACE_IMPORT_EXT]" "start": "bun run src/index.[REPLACE_IMPORT_EXT]"
}, },
"dependencies": { "dependencies": {
"@discordjs/core": "^2.0.0", "@discordjs/core": "^2.0.1",
"discord.js": "^14.16.3" "discord.js": "^14.17.0"
}, },
"devDependencies": { "devDependencies": {
"@sapphire/ts-config": "^5.0.1", "@sapphire/ts-config": "^5.0.1",

View File

@@ -1,4 +1,4 @@
import type { RESTPostAPIApplicationCommandsJSONBody, CommandInteraction } from 'npm:discord.js@^14.16.3'; import type { RESTPostAPIApplicationCommandsJSONBody, CommandInteraction } from 'npm:discord.js@^14.17.0';
import { z } from 'npm:zod@^3.24.1'; import { z } from 'npm:zod@^3.24.1';
import type { StructurePredicate } from '../util/loaders.ts'; import type { StructurePredicate } from '../util/loaders.ts';

View File

@@ -1,4 +1,4 @@
import type { ClientEvents } from 'npm:discord.js@^14.16.3'; import type { ClientEvents } from 'npm:discord.js@^14.17.0';
import { z } from 'npm:zod@^3.24.1'; import { z } from 'npm:zod@^3.24.1';
import type { StructurePredicate } from '../util/loaders.ts'; import type { StructurePredicate } from '../util/loaders.ts';

View File

@@ -1,4 +1,4 @@
import { Events } from 'npm:discord.js@^14.16.3'; import { Events } from 'npm:discord.js@^14.17.0';
import type { Event } from './index.ts'; import type { Event } from './index.ts';
export default { export default {

View File

@@ -1,6 +1,6 @@
import 'https://deno.land/std@0.223.0/dotenv/load.ts'; import 'https://deno.land/std@0.223.0/dotenv/load.ts';
import { URL } from 'node:url'; import { URL } from 'node:url';
import { Client, GatewayIntentBits } from 'npm:discord.js@^14.16.3'; import { Client, GatewayIntentBits } from 'npm:discord.js@^14.17.0';
import { loadCommands, loadEvents } from './util/loaders.ts'; import { loadCommands, loadEvents } from './util/loaders.ts';
import { registerEvents } from './util/registerEvents.ts'; import { registerEvents } from './util/registerEvents.ts';

View File

@@ -1,7 +1,7 @@
import 'https://deno.land/std@0.223.0/dotenv/load.ts'; import 'https://deno.land/std@0.223.0/dotenv/load.ts';
import { URL } from 'node:url'; import { URL } from 'node:url';
import { API } from 'npm:@discordjs/core@^2.0.0/http-only'; import { API } from 'npm:@discordjs/core@^2.0.1/http-only';
import { REST } from 'npm:discord.js@^14.16.3'; import { REST } from 'npm:discord.js@^14.17.0';
import { loadCommands } from './loaders.ts'; import { loadCommands } from './loaders.ts';
const commands = await loadCommands(new URL('../commands/', import.meta.url)); const commands = await loadCommands(new URL('../commands/', import.meta.url));

View File

@@ -1,4 +1,4 @@
import { Events, type Client } from 'npm:discord.js@^14.16.3'; import { Events, type Client } from 'npm:discord.js@^14.17.0';
import type { Command } from '../commands/index.ts'; import type { Command } from '../commands/index.ts';
import type { Event } from '../events/index.ts'; import type { Event } from '../events/index.ts';

View File

@@ -11,7 +11,7 @@
"deploy": "node --require dotenv/config src/util/deploy.js" "deploy": "node --require dotenv/config src/util/deploy.js"
}, },
"dependencies": { "dependencies": {
"@discordjs/core": "^2.0.0", "@discordjs/core": "^2.0.1",
"discord.js": "^14.16.3", "discord.js": "^14.16.3",
"dotenv": "^16.4.5" "dotenv": "^16.4.5"
}, },

View File

@@ -12,7 +12,7 @@
"start": "node --require dotenv/config dist/index.js" "start": "node --require dotenv/config dist/index.js"
}, },
"dependencies": { "dependencies": {
"@discordjs/core": "^2.0.0", "@discordjs/core": "^2.0.1",
"discord.js": "^14.16.3", "discord.js": "^14.16.3",
"dotenv": "^16.4.7" "dotenv": "^16.4.7"
}, },