Selaa lähdekoodia

Post to reportbot, not get.

master
Chris Smith 6 vuotta sitten
vanhempi
commit
003a49dfea
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      lineandsinker/services/reportbot.py

+ 1
- 1
lineandsinker/services/reportbot.py Näytä tiedosto

@@ -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
         )

Loading…
Peruuta
Tallenna