How can I turn off the microphone on the bot itself?
I can selfmute the bot with the joinVoiceChannel feature, but I couldn't find its external cast. Can anyone help?
40 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.Pass
selfMute: true
optioncan you tell me what you are in
now i'm using this
but how can i turn it on and off with the help of a command
@syjalo do you have any knowledge
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
i can't explain myself my english is very bad
how can i do this as command
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
You do not understand me
I mean how can I use selfmute outside of joinVoiceChannel
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Actually, I do not use it for command, for example, I will turn on the bota mute when someone enters the sound, but I have no idea how to do this.
so
selfMute: false
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yeah
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yes how can i get it can you help me
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
no this is not what i'm looking for
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
What does that have to do with what I said?
I'm just asking how can I selfmute
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yes but what does that have to do with CommandInteraction
this is my voice connect event
I want the bot to mute when the voice update is done, that's all
selfMute: false
I'm going to write now
but I don't know how to selfMute false
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
how do i make selfmute false
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
yes but how can i do that
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I am trying
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
np
Documentation suggestion for @cry_again: VoiceState#setMute()
Mutes/unmutes the member of this voice state.
@syjalo Doesn't that just tell us whether it's true or false?
Isn't that supposed to happen?
but it didn't work
I just want to self mute my own bot
these are my codes
I want it to turn on the mute when there is an update in the audio
I am trying
can you give an example
thx