Added message for people who try to use exit but aren't in allowList.

This commit is contained in:
Storm Dragon 2020-08-21 15:48:12 -04:00
parent 95eb4d010c
commit 173aa1241b

View File

@ -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