chore: bump discord.js across create-discord-x templates (#10935)

This commit is contained in:
Vlad Frangu
2025-06-18 12:46:34 +03:00
committed by GitHub
parent 2852a529cf
commit 127bb59638
10 changed files with 15 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
import type { RESTPostAPIApplicationCommandsJSONBody, CommandInteraction } from 'npm:discord.js@^14.19.3';
import type { RESTPostAPIApplicationCommandsJSONBody, CommandInteraction } from 'npm:discord.js@^14.20.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.19.3';
import type { ClientEvents } from 'npm:discord.js@^14.20.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.19.3';
import { Events } from 'npm:discord.js@^14.20.0';
import type { Event } from './index.ts';
import { loadCommands } from '../util/loaders.ts';

View File

@@ -1,4 +1,4 @@
import { Events } from 'npm:discord.js@^14.19.3';
import { Events } from 'npm:discord.js@^14.20.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.19.3';
import { Client, GatewayIntentBits } from 'npm:discord.js@^14.20.0';
import { loadEvents } from './util/loaders.ts';
// Initialize the client

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.1.0/http-only';
import { REST } from 'npm:discord.js@^14.19.3';
import { API } from 'npm:@discordjs/core@^2.1.1/http-only';
import { REST } from 'npm:discord.js@^14.20.0';
import { loadCommands } from './loaders.ts';
const commands = await loadCommands(new URL('../commands/', import.meta.url));