put server name instead of "stats of the server"

This commit is contained in:
loicbersier 2019-05-16 16:33:52 +02:00
parent 09d4fd89f6
commit b408a4c0cb

View file

@ -35,7 +35,7 @@ class ServerCommand extends Command {
const addEmbed = new MessageEmbed()
.setColor('#0099ff')
.setTitle('Stats of the server')
.setTitle(message.guild.name)
.setThumbnail(message.guild.iconURL())
.setAuthor(message.author.username)
.addField('Member', message.guild.memberCount, true)