1
0

6 Коммиты e81b134633 ... d18811d6a6

Автор SHA1 Сообщение Дата
  deadtom d18811d6a6 Merge branch 'development' 3 недель назад
  deadtom 8140082906 Set authentication message to only show if user is not authenticated 3 недель назад
  deadtom cfc4876ce4 Set authentication message to only show if user is not authenticated 3 недель назад
  deadtom 0b5466d909 Updated version number 3 недель назад
  deadtom a6d56cbeae Changed Kofi to donations in the reg_mail thanks message 3 недель назад
  deadtom 98bcbb9c45 Fixed incorrect user_authed variable. 3 недель назад

+ 1 - 1
ownchatbot/bot_messages.py

@@ -143,7 +143,7 @@ def help_message(user_id):  # Build help message
     kofi_integration = current_app.config['KOFI_SETTINGS']['integration']
     gb_settings = current_app.config['GB_SETTINGS']
     gb_integration = current_app.config['GB_SETTINGS']['integration']
-    message = f'OwnchatBot v1.1.9<br> \
+    message = f'OwnchatBot v1.1.10<br> \
             You get {current_app.config["POINTS_AWARD"]} points for every {current_app.config["POINTS_INTERVAL"]} minutes you\'re in chat.<br> \
             You can see your points, the rewards queue, and other helpful information by clicking on the \"Points Rewards\" button.<br><br> \
             <b><u>Chat commands:</u></b><br> \

+ 1 - 1
ownchatbot/templates/mgmt.html

@@ -706,7 +706,7 @@
         <br><br>
     </div>
     <footer>
-        Version 1.1.dev10 (development branch)<br>
+        Version 1.1.10<br>
         If you are thrilled to death with OwnchatBot, and want to throw a little monetary love DeadTOm's way, <a href=https://ko-fi.com/deadtom>he's on Ko-fi</a>.<br>
         OwnchatBot © 2025 by <a href=https://www.deadtom.me>DeadTOm</a> is licensed under <a href=https://creativecommons.org/licenses/by-sa/4.0/>Creative Commons Attribution-ShareAlike 4.0 International</a>.
     </footer>

+ 7 - 3
ownchatbot/templates/userpanel.html

@@ -73,11 +73,15 @@
         {% endif %}
         {% endif %}
         </table>
-            <br><span style="color: orange;"><i>You must be authenticated with Owncast to earn points for donations.</i></span><br>
             {% for user in users %}
+            {% if user[3] %}
+            <br>
+            {% else %}
+            <br><span style="color: orange;"><i>You must be authenticated with Owncast to earn points for donations.</i></span><br>
+            {% endif %}
             
             <div>
-                {% if user['user_authed'] %}
+                {% if user[3] %}
                     <br>
                     OwnchatBot recognizes your Ko-fi and GiveButter accounts by your email address. In order for OwnchatBot to award your donation points, you must supply your email address.<br><br>
                     
@@ -117,7 +121,7 @@
         <hr>
         <h4>Other stuff</h4>
         <div>
-            Version 1.1.dev10 (development branch)<br>
+            Version 1.1.10<br>
             OwnchatBot can be downloaded from <a href=https://git.deadtom.me/deadtom/OwnchatBot>https://git.deadtom.me/deadtom/OwnchatBot</a>.<br>
             If you are thrilled to death with OwnchatBot, and want to throw a little monetary love DeadTOm's way, <a href=https://ko-fi.com/deadtom>he's on Ko-fi</a>.<br>
             OwnchatBot © 2025 by <a href=https://www.deadtom.me>DeadTOm</a> is licensed under <a href=https://creativecommons.org/licenses/by-sa/4.0/>Creative Commons Attribution-ShareAlike 4.0 International</a>.

+ 1 - 1
ownchatbot/web_panels.py

@@ -531,7 +531,7 @@ def set_viewer_email():
         if change_email(db, user_id, new_email):
             del_email_code(db, user_id)
             flash(f"Email Address \"{new_email}\" successfully registered.", "success")
-            send_private_chat(user_id, f'{user_name}, thanks for registering for Kofi perks! I appreciate your support!')
+            send_private_chat(user_id, f'{user_name}, thanks for registering for donation perks! I appreciate your support!')
             current_app.logger.info(f'Changed {user_id}\'s email to {new_email}')
     else:
         flash(f"Incorrect code. Email Address \"{new_email}\" was not registered.", "failure")

+ 1 - 1
pyproject.toml

@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
 
 [project]
 name = "ownchatbot"
-version = "1.1.dev10"
+version = "1.1.10"
 authors = [
     {name = "DeadTOm", email = "deadtom@deadtom.me"},
 ]

+ 1 - 1
setup.py

@@ -2,7 +2,7 @@ from setuptools import find_packages, setup
 
 setup(
     name='ownchatbot',
-    version='1.1.dev10',
+    version='1.1.10',
     packages=find_packages(),
     include_package_data=True,
     install_requires=[