diff options
author | julien | 2009-08-19 12:22:40 +0200 |
---|---|---|
committer | julien | 2009-08-19 12:22:40 +0200 |
commit | d0675339023114166a1f0da81fb49c3ee68d0c18 (patch) | |
tree | 6b2517b1fd4dd8520ddf2710b27f1243797a0db8 /shhelp.sh | |
parent | Refactored command handling (diff) | |
download | shbot-d0675339023114166a1f0da81fb49c3ee68d0c18.tar.gz shbot-d0675339023114166a1f0da81fb49c3ee68d0c18.tar.bz2 shbot-d0675339023114166a1f0da81fb49c3ee68d0c18.zip |
Added the quote module
Diffstat (limited to '')
-rwxr-xr-x | shhelp.sh | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -1,12 +1,22 @@ #!/bin/bash -ex case "$1" in + "advert") echo "advert <CHANNEL> : Make shbot speak the truth about himself on the specified CHANNEL." + ;; "help") echo "help <TOPIC> : Prints help about TOPIC." ;; + "join") echo "join <CHANNEL> : Make shbot join the specified CHANNEL." + ;; + "part") echo "part <CHANNEL> : Make shbot part the specified CHANNEL." + ;; + "quote") echo "quote [OWNER QUOTE] :" + echo " Without arguments : prints a random quote." + echo " if OWNER and QUOTE are provided : save the quote for posterity and legend." + ;; "trains") echo "trains [STATION] : Prints the next trains that will stop at Courbevoie's station." echo " When provided, only results that concerns STATION are advertised." ;; - *) echo "The following commands are available : help trains" + *) echo "The following commands are available : advert help join part quote trains" ;; esac |