|
|
|
@ -1,9 +1,9 @@
|
|
|
|
|
// Require the necessary discord.js classes
|
|
|
|
|
const { Client, Events, GatewayIntentBits, REST, Routes, Collection, FLAGS, MessageMentionOptions } = require('discord.js');
|
|
|
|
|
const { Client, Events, GatewayIntentBits, REST, Routes, Collection, FLAGS, MessageMentionOptions, codeBlock, SlashCommandBuilder } = require('discord.js');
|
|
|
|
|
const Discord = require('discord.js');
|
|
|
|
|
const { clientId, guildId, token } = require('./key.json');
|
|
|
|
|
const fs = require('node:fs');
|
|
|
|
|
const path = require('node:path');
|
|
|
|
|
let fs = require('node:fs');
|
|
|
|
|
let path = require('node:path');
|
|
|
|
|
|
|
|
|
|
// Create a new client instance
|
|
|
|
|
const client = new Discord.Client({
|
|
|
|
|