added server icon as thumbnail

This commit is contained in:
Supositware 2019-03-31 00:37:07 +01:00
parent b302bdc4c4
commit db59873db7

View file

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