fixed an error

This commit is contained in:
loicbersier 2018-10-23 18:03:01 +02:00
parent 9a0d37b2b1
commit a1fe3667df

View file

@ -14,7 +14,6 @@ module.exports = class statsCommand extends Command {
async run(message) { async run(message) {
if(blacklist[message.author.id]) if(blacklist[message.author.id])
return message.channel.send("You are blacklisted") return message.channel.send("You are blacklisted")
return msg.channel.send("You are blacklisted")
let totalSeconds = (this.client.uptime / 1000); let totalSeconds = (this.client.uptime / 1000);
let days = Math.floor(totalSeconds / 86400); let days = Math.floor(totalSeconds / 86400);
let hours = Math.floor(totalSeconds / 3600); let hours = Math.floor(totalSeconds / 3600);