Преглед изворни кода

Post to reportbot, not get.

master
Chris Smith пре 6 година
родитељ
комит
003a49dfea
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      lineandsinker/services/reportbot.py

+ 1
- 1
lineandsinker/services/reportbot.py Прегледај датотеку

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

Loading…
Откажи
Сачувај