New function and module to allow users in the allowList to change the bot's nick
This commit is contained in:
8
modules/nick/nick.sh
Executable file
8
modules/nick/nick.sh
Executable file
@ -0,0 +1,8 @@
|
||||
[ -f functions.sh ] && source functions.sh
|
||||
|
||||
user=$1
|
||||
shift
|
||||
shift
|
||||
if [[ "$user" =~ $allowList ]]; then
|
||||
nick $1
|
||||
fi
|
Reference in New Issue
Block a user