CodeBlock
components/cards/CodeBlock.tsx
Note: always-dark background regardless of active theme (by design)
language
With language label
language prop shows a label in the header bar
typescript
TypeScript
Different content type — same always-dark render
bash
Bash
Multi-line shell commands
copyable
copyable prop
copyable=true (default) / copyable=false
copyable=false — no copy button, no header bar (if no language either)
no-label
No language, no copy
Neither language nor copyable=true — just a code pre block
real-world
Real-world usage
Inline docs — command configuration reference
Command configuration object — paste into your bot config file: