upgrade to discord.js v14

This commit is contained in:
SowinskiBraeden committed 2022-08-24 23:23:44 -07:00
1 parent f32c04b5bc
commit 0cdd107b92
24 files changed
+1598 -1560

No files matched your search

+4 -4
View File
@@ -1,4 +1,4 @@
const { MessageEmbed } = require('discord.js');
const { EmbedBuilder } = require('discord.js');
module.exports = {
name: "stats",
@@ -9,8 +9,8 @@ module.exports = {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [],
},
options: [],
SlashCommand: {
options: [],
/**
*
* @param {require("../structures/QuarksBot")} client
@@ -24,8 +24,8 @@ module.exports = {
}
const end = new Date().getTime();
const stats = new MessageEmbed()
.setColor(client.config.EmbedColor)
const stats = new EmbedBuilder()
.setColor(client.config.Colors.Default)
.setTitle('QuarksBot Statistics')
.addFields(
{ name: 'Guilds', value: `${client.guilds.cache.size}`, inline: true },