Open
Description
2020-02-21T07:17:15.853 [ERROR] failed to call event "received.message.channel"
Traceback (most recent call last):
File "/opt/bitbot/src/EventManager.py", line 203, in _call
returned = hook.call(event)
File "/opt/bitbot/src/EventManager.py", line 53, in call
return self.function(event)
File "/opt/bitbot/src/core_modules/commands/__init__.py", line 354, in channel_message
buffer_line=event["buffer_line"])
File "/opt/bitbot/src/core_modules/commands/__init__.py", line 205, in command
hook.call(new_event)
File "/opt/bitbot/src/EventManager.py", line 53, in call
return self.function(event)
File "/opt/bitbot/modules/imgur.py", line 36, in _regex_image
event["stdout"].write(self._parse_image(event["match"].group(1)))
File "/opt/bitbot/modules/imgur.py", line 77, in _parse_image
headers={"Authorization": "Client-ID %s" % api_key}).json()
File "/opt/bitbot/src/utils/http.py", line 129, in json
return _json.loads(self.data)
File "/usr/lib/python3.7/json/__init__.py", line 348, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)