Use wildcards for commands that require parameters
This commit is contained in:
parent
4870f05dee
commit
fffceded1a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user