chore(create-discord-app): update discord.js version for templates

This commit is contained in:
Vlad Frangu
2024-09-02 01:30:57 +03:00
parent 23636a9a2f
commit 1f2047ff90
10 changed files with 10 additions and 10 deletions

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
import 'https://deno.land/std@0.199.0/dotenv/load.ts';
import { URL } from 'node:url';
import { Client, GatewayIntentBits } from 'npm:discord.js@^14.15.3';
import { Client, GatewayIntentBits } from 'npm:discord.js@^14.16.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@^1.2.0/http-only';
import { REST } from 'npm:discord.js@^14.15.3';
import { REST } from 'npm:discord.js@^14.16.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.14.1';
import { Events, type Client } from 'npm:discord.js@^14.16.0';
import type { Command } from '../commands/index.ts';
import type { Event } from '../events/index.ts';