Add reminder command
This commit is contained in:
parent
3d4edc1fd4
commit
fdf908dc86
@ -129,10 +129,14 @@ async function processor(group, consumer, streamKey) {
|
||||
console.log(`[${consumer}] Processing:`, msg);
|
||||
|
||||
switch (msg.message.command) {
|
||||
case "greeting":
|
||||
case "greet":
|
||||
await playAudio("Hello! I am the Many Tailed Fox.");
|
||||
break;
|
||||
|
||||
case "remind":
|
||||
await playAudio("Reminder, " + String(msg.message.value));
|
||||
break;
|
||||
|
||||
default:
|
||||
await playAudio("Command, " + String(msg.message.command) + " is undefined.")
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user