Browse Source

Remove misplaced parenthesis

master
Abheek Dhawan 4 years ago
parent
commit
a4caf63eba
  1. 2
      index.js

2
index.js

@ -79,7 +79,7 @@ async function startLogs(message) {
if (!message.member.hasPermission("ADMINISTRATOR")) { if (!message.member.hasPermission("ADMINISTRATOR")) {
message.reply("you do not have admin permissions!"); message.reply("you do not have admin permissions!");
return; return;
}) }
collection.findOne({ guild_id: message.guild.id }, (error, result) => { collection.findOne({ guild_id: message.guild.id }, (error, result) => {
if (error) { if (error) {
console.error; console.error;

Loading…
Cancel
Save