Fixed server info

This commit is contained in:
Loic Bersier 2018-12-18 17:01:28 +01:00
parent 6c786568e5
commit 5bf6f16646

View file

@ -18,8 +18,13 @@ module.exports = class ServerCommand extends Command {
if(blacklistJson[message.author.id])
return blacklist(blacklistJson[message.author.id] , message)
try {
let customresponse = new SelfReloadJSON(`./tag/${message.guild.id}.json`);
let count = Object.keys(customresponse).length
var count = Object.keys(customresponse).length
} catch {
var count = 'None'
}
const addEmbed = {
color: 0x0099ff,