the bot can now exit gracefully.

This commit is contained in:
Storm Dragon committed 2020-08-17 21:20:12 -04:00
1 parent cce7ef88dc
commit 45447d2e77
4 files changed
+31 -13

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
[ -f functions.sh ] && source functions.sh
user=$1
shift
shift
if [[ "$user" =~ $allowList ]]; then
close_bot
fi