Fixed server info
This commit is contained in:
parent
6c786568e5
commit
5bf6f16646
1 changed files with 7 additions and 2 deletions
|
@ -18,8 +18,13 @@ module.exports = class ServerCommand extends Command {
|
||||||
if(blacklistJson[message.author.id])
|
if(blacklistJson[message.author.id])
|
||||||
return blacklist(blacklistJson[message.author.id] , message)
|
return blacklist(blacklistJson[message.author.id] , message)
|
||||||
|
|
||||||
|
try {
|
||||||
let customresponse = new SelfReloadJSON(`./tag/${message.guild.id}.json`);
|
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 = {
|
const addEmbed = {
|
||||||
color: 0x0099ff,
|
color: 0x0099ff,
|
||||||
|
|
Loading…
Reference in a new issue