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 ;;
|
/help | /help@$bot) help ;;
|
||||||
/start | /start@$bot) help ;;
|
/start | /start@$bot) help ;;
|
||||||
/alive | /alive@$bot) alive ;;
|
/alive | /alive@$bot) alive ;;
|
||||||
/cv | /cv@$bot) cv ;;
|
/cv* | /cv@$bot*) cv ;;
|
||||||
/corona | /corona@$bot) cv ;;
|
/corona* | /cv@$bot*) cv ;;
|
||||||
/id | /id@$bot) id ;;
|
/id | /id@$bot) id ;;
|
||||||
/mp3 | /mp3@$bot) mp3 ;;
|
/mp3* | /mp3@$bot*) mp3 ;;
|
||||||
# Administrative
|
# Administrative
|
||||||
/stat | /stat@$bot) stat ;;
|
/stat | /stat@$bot) stat ;;
|
||||||
/term | /term@$bot) term ;;
|
/term* | /term@$bot*) term ;;
|
||||||
# Notes and such
|
# Notes and such
|
||||||
!anyone) anyone ;;
|
!anyone) anyone ;;
|
||||||
# Miscellaneous
|
# Miscellaneous
|
||||||
|
Loading…
x
Reference in New Issue
Block a user