mirror of https://github.com/skygpu/skynet.git
change send function on failure (not sure if this fixed it)
parent
53ed74e9a3
commit
58c6a2070e
|
@ -168,7 +168,7 @@ class SkynetDiscordFrontend:
|
||||||
|
|
||||||
if 'code' in res or 'statusCode' in res:
|
if 'code' in res or 'statusCode' in res:
|
||||||
logging.error(json.dumps(res, indent=4))
|
logging.error(json.dumps(res, indent=4))
|
||||||
await self.bot.send(
|
await self.bot.channel.send(
|
||||||
status_msg,
|
status_msg,
|
||||||
'skynet has suffered an internal error trying to fill this request')
|
'skynet has suffered an internal error trying to fill this request')
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue