Use wildcards for commands that require parameters

This commit is contained in:
Michael De Roover 2021-01-01 00:21:31 +01:00
parent 4870f05dee
commit fffceded1a
Signed by: vim
GPG Key ID: 075496E232CE04CB

View File

@ -121,13 +121,13 @@ case "$cmd" in
/help | /help@$bot) help ;;
/start | /start@$bot) help ;;
/alive | /alive@$bot) alive ;;
/cv | /cv@$bot) cv ;;
/corona | /corona@$bot) cv ;;
/cv* | /cv@$bot*) cv ;;
/corona* | /cv@$bot*) cv ;;
/id | /id@$bot) id ;;
/mp3 | /mp3@$bot) mp3 ;;
/mp3* | /mp3@$bot*) mp3 ;;
# Administrative
/stat | /stat@$bot) stat ;;
/term | /term@$bot) term ;;
/term* | /term@$bot*) term ;;
# Notes and such
!anyone) anyone ;;
# Miscellaneous