Parcourir la source

Post to reportbot, not get.

master
Chris Smith il y a 6 ans
Parent
révision
003a49dfea
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      lineandsinker/services/reportbot.py

+ 1
- 1
lineandsinker/services/reportbot.py Voir le fichier

@@ -11,7 +11,7 @@ class ReportBot(Service):
11 11
         self._channel = channel
12 12
 
13 13
     def announce(self, message):
14
-        requests.get(
14
+        requests.post(
15 15
             self._url,
16 16
             {"key": self._key, "command": f"CM {self._channel}", "args": message},
17 17
         )

Chargement…
Annuler
Enregistrer