1
0

2 Revīzijas 03493f13c0 ... 329bee9825

Autors SHA1 Ziņojums Datums
  allens 329bee9825 Removed some stuff, added some stuff. 2 nedēļas atpakaļ
  allens a5c018e804 Added agreement blurb 2 nedēļas atpakaļ
2 mainītis faili ar 8 papildinājumiem un 3 dzēšanām
  1. 2 3
      TODO.md
  2. 6 0
      install.sh

+ 2 - 3
TODO.md

@@ -1,3 +1,2 @@
-* Get Kofi subscriptions and tiers sorted out.
-* Add acknowledgement to install script, that I am not responsible for any loss of viewers data, and the streamer is solely responsible for backing it up and maintaining it.
-* Add celebration emojis in messages for things like goals and milestones.
+* Add option to set up Kofi subscriber-only awards
+* Add customizable celebration emojis in messages for things like goals and milestones.

+ 6 - 0
install.sh

@@ -55,6 +55,12 @@ update_config() {  # Generate keys for SECRET_KEY and MGMT_AUTH
         exit 1  # Exit the script with a non-zero status
     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
     create_venv