Remove useless console.log() line

This commit is contained in:
SileNce5k 2021-06-22 17:55:05 +02:00
parent 0675aa271d
commit f9d5b70dbe
No known key found for this signature in database
GPG key ID: C507260E7F2583AD

View file

@ -9,7 +9,6 @@ module.exports = {
execute({ message, args, prefix, client, owners }) {
let json = fs.readFileSync('./data/netmoduleWhitelist.json', 'utf8');
let whitelist = JSON.parse(json)
console.log(json.indexOf(message.author.id.toString()) == -1)
if (json.indexOf(message.author.id.toString()) == -1) {
message.channel.send("You do not have permissions to use this command.");
return;