Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Commit

Permalink
Remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
kyogoi committed Oct 7, 2019
1 parent dca7a3d commit 6b5def0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@
if (channels.some((v) => v.voice_id == newMember.voiceChannelID)) {
const textChannel = bot.channels.get(channels.find((v) => v.voice_id == newMember.voiceChannelID).text_id);

console.log(newMember.roles.some((role) => role.name === "dumb"));
db.run('UPDATE channels SET set_to_purge = 0 WHERE voice_id = ?', [newMember.voiceChannelID]);

textChannel.overwritePermissions(newMember, { "VIEW_CHANNEL": true });
Expand Down

0 comments on commit 6b5def0

Please sign in to comment.