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

@@ -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 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 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';
export default {

View File

@@ -1,6 +1,6 @@
import 'https://deno.land/std@0.223.0/dotenv/load.ts';
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 { registerEvents } from './util/registerEvents.ts';

View File

@@ -1,7 +1,7 @@
import 'https://deno.land/std@0.223.0/dotenv/load.ts';
import { URL } from 'node:url';
import { API } from 'npm:@discordjs/core@^2.0.0/http-only';
import { REST } from 'npm:discord.js@^14.16.3';
import { API } from 'npm:@discordjs/core@^2.0.1/http-only';
import { REST } from 'npm:discord.js@^14.17.0';
import { loadCommands } from './loaders.ts';
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 { Event } from '../events/index.ts';