diff --git a/modules/exit/exit.sh b/modules/exit/exit.sh index 19f42d5..4e395aa 100755 --- a/modules/exit/exit.sh +++ b/modules/exit/exit.sh @@ -2,7 +2,10 @@ user=$1 shift +chan="$1" shift if [[ "$user" =~ $allowList ]]; then close_bot +else + msg "$chan" "$user: you are not an administrator for this bot. If you believe this is an error, please contact the bot's owner." fi