|
@ -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; |
|
|