Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check if user is streaming discord js

client.channels.cache.forEach(channel => {
       if(channel.type == 'voice'){
        //GuildMember.voice.streaming // {true,false}  <==
            for(const m of channel.members){
                  if(m[1].voice.streaming){
                   message.channel.send(m[1].user.username + " is Streaming in "+m[1].guild.name)   
                  }   
            }
       } 
     })
 
PREVIOUS NEXT
Tagged: #check #user #streaming #discord #js
ADD COMMENT
Topic
Name
4+3 =