12 lines
269 B
Bash
Executable File
12 lines
269 B
Bash
Executable File
#!/usr/bin/env bash
|
|
[ -f functions.sh ] && source functions.sh
|
|
|
|
user=$1
|
|
shift
|
|
shift
|
|
if [[ "$user" =~ $allowList ]]; then
|
|
./modules/do/do.sh "$1" "#$channel" "does a magical gesture and turns into ${1}!"
|
|
nick $1
|
|
sed -i bot.cfg -e "s/nick=.*/nick=\"$1\"/"
|
|
fi
|