Explorar o código

Removed exclamation from the end of the fulfilled notification. It looked weird.

deadtom hai 1 mes
pai
achega
87aba09d81
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      ownchatbot/web_panels.py

+ 1 - 1
ownchatbot/web_panels.py

@@ -206,7 +206,7 @@ def fulfilled():
     reward_name = request.args.get('reward_name')
     try:
         if fulfill_reward(db, reward_id):
-            send_chat(f'{prefix}{reward_name} fulfilled for {username}!')
+            send_chat(f'{prefix}{reward_name} fulfilled for {username}.')
     except Exception as rrerror:
         current_app.logger.error(f'General exception, when trying to send fulfill chat notification: {fferror}')
     return redirect(url_for('web_panels.mgmtqueue'))