Fix embeds for botinfo command
This commit is contained in:
parent
7fac368e31
commit
f3caf1b7ce
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
const Discord = require('discord.js');
|
||||
const {EmbedBuilder} = require('discord.js');
|
||||
const getCreationDate = require('../../util/getCreationDate');
|
||||
const getGuildCount = require('../../util/getGuildCount');
|
||||
|
||||
|
@ -9,7 +9,7 @@ module.exports = {
|
|||
description: 'Shows information about the bot',
|
||||
execute({message, client, prefix}) {
|
||||
let guildCount = getGuildCount(client)
|
||||
const embed = new Discord.MessageEmbed()
|
||||
const embed = new EmbedBuilder()
|
||||
.setColor(15780145)
|
||||
.setTitle("Information about bot")
|
||||
.setTimestamp()
|
||||
|
|
Loading…
Add table
Reference in a new issue