2016-09-10 10:41:13 -04:00
|
|
|
[ -f functions.sh ] && source functions.sh
|
|
|
|
|
|
|
|
userNick="$1"
|
|
|
|
shift
|
|
|
|
chan="$1"
|
|
|
|
shift
|
2016-09-10 10:47:04 -04:00
|
|
|
snack="${@#botsnack}"
|
|
|
|
snack="${snack:-$(shuf -n1 -e\
|
2016-09-10 10:41:13 -04:00
|
|
|
"BBQ microchips"\
|
|
|
|
"BBQ corn nuts"\
|
|
|
|
"steak")}"
|
|
|
|
thanks="$(shuf -n1 -e "Thank you" "You're so awesome" "You shouldn't have" "You rock")"
|
|
|
|
favorite="$(shuf -n1 -e "my favorite" "yum yum" "this is bot heaven" "DELICIOUS")"
|
|
|
|
|
2016-09-10 10:42:24 -04:00
|
|
|
msg "$chan" "$thanks $userNick: $snack! $favorite!"
|