diff --git a/web/src/App.tsx b/web/src/App.tsx index f56774e..42e339a 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -270,7 +270,7 @@ export default function App() { { try { const res = await fetch('/api/sounds'); const data = await res.json(); const items = data?.items || []; if (!items.length || !selected) return; const rnd = items[Math.floor(Math.random()*items.length)]; const [guildId, channelId] = selected.split(':'); await playSound(rnd.name, guildId, channelId, volume, rnd.relativePath);} catch {} }}>Random - - {chaosMode ? 'CHAOS ON' : 'CHAOS'} + CHAOS - { if (!selected) return; const [guildId] = selected.split(':'); await fetch(`/api/stop?guildId=${encodeURIComponent(guildId)}`, { method:'POST' }); }}>Panic + { setChaosMode(false); await stopChaosMode(); }}>Panic