Add reminder command

This commit is contained in:
Apher 2026-07-16 06:51:49 +00:00
parent 3d4edc1fd4
commit fdf908dc86

View File

@ -129,9 +129,13 @@ async function processor(group, consumer, streamKey) {
console.log(`[${consumer}] Processing:`, msg); console.log(`[${consumer}] Processing:`, msg);
switch (msg.message.command) { switch (msg.message.command) {
case "greeting": case "greet":
await playAudio("Hello! I am the Many Tailed Fox."); await playAudio("Hello! I am the Many Tailed Fox.");
break; break;
case "remind":
await playAudio("Reminder, " + String(msg.message.value));
break;
default: default:
await playAudio("Command, " + String(msg.message.command) + " is undefined.") await playAudio("Command, " + String(msg.message.command) + " is undefined.")