소스 검색

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,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…
취소
저장