im not allowed to code

master
Kit Kasune 4 years ago
parent 6f476e795a
commit ff60a23353
  1. 2
      events/voiceStateUpdate.js

@ -1,6 +1,6 @@
const Monitor = require('../models/monitor'); const Monitor = require('../models/monitor');
export default async (client, oldState, voice) => { module.exports = async (client, oldState, voice) => {
if (client.users.cache.get(voice.member.id).bot) {return;} if (client.users.cache.get(voice.member.id).bot) {return;}
if (voice.guild && client.misc.cache.monitEnabled.includes(voice.guild.id)) { if (voice.guild && client.misc.cache.monitEnabled.includes(voice.guild.id)) {
if (voice.channelID) { if (voice.channelID) {

Loading…
Cancel
Save