Question · Vibe coding with Claude Code course · Module 9: Discord clone
Quiz: Channel type
How is the channel type written in types/server.ts?
Answer options
- As a string, so that any type can be added
- As an isVoice field of type boolean
- As a union "text" | "voice" | "announcement"
- As a number 0, 2 or 5, like in the Discord API
You can check the correct answer by solving this task in the CodeWorlds game.