Reward the bot with the botsnack module.
This commit is contained in:
1 parent
3906a98a3f
commit
4b98d1e4df
1 file changed
+14
Executable
+14
@@ -0,0 +1,14 @@
|
||||
[ -f functions.sh ] && source functions.sh
|
||||
|
||||
userNick="$1"
|
||||
shift
|
||||
chan="$1"
|
||||
shift
|
||||
snack="${@:-$(shuf -n1 -e\
|
||||
"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")"
|
||||
|
||||
echo "$chan" "$thanks $userNick: $snack! $favorite!"
|
||||
Reference in new issue
Block a user