import { Card, CardContent, CardHeader, Input, TextArea, Button, Chip, Separator, TextField, Label } from '@heroui/react'; import { Tag, Save, Hash, List } from 'lucide-react'; import { useApp } from '../context/AppContext'; import { SectionCard } from '../components/shared/SectionCard'; export function ReactionRoles() { const { reactionRoles, reactionDraft, setReactionDraft, saveReactionRole } = useApp(); return (

Bestehende Sets ({reactionRoles.length})

{reactionRoles.length ? reactionRoles.map((set, i) => (
{set.title || 'Reaction Role'}
Channel: {set.channelId || '-'}
{(set.entries?.length || 0)} Eintr�ge
)) : (
Keine Sets
)}

Neues Set

setReactionDraft((s) => ({ ...s, title: e.target.value }))} /> setReactionDraft((s) => ({ ...s, channelId: e.target.value }))} />