浏览代码

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
         )

正在加载...
取消
保存