feat: bump discord.js in create-discord-bot/app (#11048)

* feat: bump discord.js in create-discord-bot/app

* chore: forgot core
This commit is contained in:
Vlad Frangu
2025-08-21 09:58:35 +03:00
committed by GitHub
parent b1d96e251f
commit 4b6060dcd8
10 changed files with 15 additions and 15 deletions

View File

@@ -1,4 +1,4 @@
import type { RESTPostAPIApplicationCommandsJSONBody, CommandInteraction } from 'npm:discord.js@^14.20.0';
import type { RESTPostAPIApplicationCommandsJSONBody, CommandInteraction } from 'npm:discord.js@^14.22.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.20.0';
import type { ClientEvents } from 'npm:discord.js@^14.22.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.20.0';
import { Events } from 'npm:discord.js@^14.22.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.20.0';
import { Events } from 'npm:discord.js@^14.22.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.20.0';
import { Client, GatewayIntentBits } from 'npm:discord.js@^14.22.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.1/http-only';
import { REST } from 'npm:discord.js@^14.20.0';
import { API } from 'npm:@discordjs/core@^2.2.1/http-only';
import { REST } from 'npm:discord.js@^14.22.0';
import { loadCommands } from './loaders.ts';
const commands = await loadCommands(new URL('../commands/', import.meta.url));