change send function on failure (not sure if this fixed it)

pull/11/head
zoltan 2023-07-21 03:43:59 +00:00
parent 53ed74e9a3
commit 58c6a2070e
1 changed files with 1 additions and 1 deletions

View File

@ -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