const { Client, GatewayIntentBits, Events } = require('discord.js');
const { EmbedBuilder } = require('discord.js');
const client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent]
});
const wait = require('node:timers/promises').setTimeout;
prefix = "."
client.on("messageCreate", message => {
if (message.content.startsWith(prefix + "ping")) {
console.log("2349")
message.channel.send('Pong! :Pingsock:');
}
else if (message.content.startsWith(prefix + "start")) {
const exampleEmbed = new EmbedBuilder()
.setColor(0x0099FF)
.setTitle(':rocket: Initializing bot')
.setThumbnail('https://fortnite-api.com/images/cosmetics/br/cid_035_athena_commando_m_medieval/smallicon.png')
.addFields(
{ name: ':bust_in_silhouette: Account', value: '`Kanyes_chai`' },
)
const consoleembed = new EmbedBuilder()
.setColor(0x0099FF)
.setTitle(':floppy_disk: Console')
.setDescription('
const { Client, GatewayIntentBits, Events } = require('discord.js');
const { EmbedBuilder } = require('discord.js');
const client = new Client({
intents: [GatewayIntentBits.Guilds, GatewayIntentBits.GuildMessages, GatewayIntentBits.MessageContent]
});
const wait = require('node:timers/promises').setTimeout;
prefix = "."
client.on("messageCreate", message => {
if (message.content.startsWith(prefix + "ping")) {
console.log("2349")
message.channel.send('Pong! :Pingsock:');
}
else if (message.content.startsWith(prefix + "start")) {
const exampleEmbed = new EmbedBuilder()
.setColor(0x0099FF)
.setTitle(':rocket: Initializing bot')
.setThumbnail('https://fortnite-api.com/images/cosmetics/br/cid_035_athena_commando_m_medieval/smallicon.png')
.addFields(
{ name: ':bust_in_silhouette: Account', value: '`Kanyes_chai`' },
)
const consoleembed = new EmbedBuilder()
.setColor(0x0099FF)
.setTitle(':floppy_disk: Console')
.setDescription('