|
@@ -55,6 +55,12 @@ update_config() { # Generate keys for SECRET_KEY and MGMT_AUTH
|
|
exit 1 # Exit the script with a non-zero status
|
|
exit 1 # Exit the script with a non-zero status
|
|
fi
|
|
fi
|
|
}
|
|
}
|
|
|
|
+read -p "This app includes an option to integrate Kofi donations and membership rewards into your stream. If you use this feature, you acknowledge that you alone are responsible for backing up and securing the OwnchatBot folder, so as not to lose any data related to rewards your viewiers earned by spending money on Kofi. The developer(s) of OwnchatBot assume no responsibility for any loss of such data. Do you agree to these terms? Type \"yes\" or \"no\": " agreement # Prompt the user to accept the agreement
|
|
|
|
+
|
|
|
|
+if [[ "$agreement" != "yes" ]]; then
|
|
|
|
+ echo -e "\n\nAgreement declined by user. OwnchatBot not installed.\n\n"
|
|
|
|
+ exit 0
|
|
|
|
+fi
|
|
|
|
|
|
if check_venv; then
|
|
if check_venv; then
|
|
create_venv
|
|
create_venv
|