Oscar
Oscar
DIAdiscord.js - Imagine an app
Created by Oscar on 8/13/2022 in #djs-questions
Add an event listener to variable change
I'm trying to create an event for when <VoiceChannel>.members.size < 2 (when my bot is the only one in the VC). I have found some... slightly intimidating stack overflow answers here but was wondering if anyone else had an easier solution? Only reason I'm asking is this is that I notice many bots will leave a voice channel when they are the only person in it, hence 24/7 mode.
3 replies