Pārlūkot izejas kodu

Minor: Duplicate message

Foppe Hemminga 6 gadi atpakaļ
vecāks
revīzija
e723379d4f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      view.py

+ 1 - 1
view.py

@@ -15,7 +15,7 @@ def broadcast(this_text):
     for webhook_key in webhooks:
         webhook = webhooks[webhook_key]
         if 'sent an application' in this_text:
-            this_text += this_text+ ' <@&647609243586920449>'
+            this_text += ' <@&647609243586920449>'
         this_json = {'content': this_text}
         pprint(this_json)
         url = base_url+webhook