ソースを参照

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
         )

読み込み中…
キャンセル
保存