Question · Vibe coding with Claude Code course · Module 9: Discord clone

Quiz: Two kinds of muting

Why does VoiceState have selfMute and serverMute separately?

Answer options

  • A pirate muted by a moderator cannot unmute themselves, so the screen must show it differently
  • selfMute turns off the sound and serverMute the microphone
  • It is a duplicate, one field would be enough
  • serverMute is set by the browser when there is no microphone permission

You can check the correct answer by solving this task in the CodeWorlds game.