Browse Source

More message tuning

deadtom 3 weeks ago
parent
commit
cdd15dca6f
2 changed files with 3 additions and 1 deletions
  1. 2 0
      TODO.md
  2. 1 1
      ownchatbot/bot_messages.py

+ 2 - 0
TODO.md

@@ -0,0 +1,2 @@
+* Set up email form with code entry. Both fields should be required.
+* Get system messages for some bot messages

+ 1 - 1
ownchatbot/bot_messages.py

@@ -45,7 +45,7 @@ def do_reward(message, user_id):  # Parse the chat command
         contribution = split_message[1]
 
     if reward not in current_app.config['REWARDS']:  # Check if it's a command or a reward
-        send_chat(f'{username}, \"{prefix}{reward}\" is not a chat command or a reward. Check your spelling?')
+        send_private_chat(userId, f'{username}, \"{prefix}{reward}\" is not a chat command or a reward. Check your spelling?')
         return
     if not is_reward_active(reward):  # If reward isn't active, say so
         send_chat(f'Sorry, {username}. \"{prefix}{reward}\" is not currently an active reward.')