mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-17 10:00:46 -04:00
rs status shortcut
This commit is contained in:
@@ -273,6 +273,9 @@ async function handleCommand(message) {
|
|||||||
const action = (tokens.shift() || '').toLowerCase();
|
const action = (tokens.shift() || '').toLowerCase();
|
||||||
|
|
||||||
switch (action) {
|
switch (action) {
|
||||||
|
case '':
|
||||||
|
await handleStatusCommand(message, tokens[0]);
|
||||||
|
break;
|
||||||
case 'help':
|
case 'help':
|
||||||
await message.reply(formatHelp());
|
await message.reply(formatHelp());
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user