the bot can now exit gracefully.
This commit is contained in:
8
modules/exit/exit.sh
Executable file
8
modules/exit/exit.sh
Executable file
@ -0,0 +1,8 @@
|
||||
[ -f functions.sh ] && source functions.sh
|
||||
|
||||
user=$1
|
||||
shift
|
||||
shift
|
||||
if [[ "$user" =~ $allowList ]]; then
|
||||
close_bot
|
||||
fi
|
Reference in New Issue
Block a user