Home > OS >  Make a bot to automatically become a speaker in stage channel
Make a bot to automatically become a speaker in stage channel

Time:10-24

I was using message.guild.me.voice.setRequestToSpeak(true); to make a bot request to become a speaker in stage channel, but some bots can automatically become speakers if they have permissions in this stage channel. How can I make my bot become a speaker too?

CodePudding user response:

You can use VoiceState#setSuppressed() to control whether your bot is a speaker or not in a stage channel.

message.guild.me.voice.setSuppressed(false)
  • Related