Skip to content

Commit

Permalink
Update api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeyUsersREC authored Oct 28, 2023
1 parent f0f26c7 commit e737d4d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions utils/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -556,12 +556,12 @@ async def POST_duty_on_actions(
try:
shift_channel = bot.get_channel(configItem["shift_management"]["channel"])
except:
return 500

return HTTPException(status_code=500)
print(563)
print(shift_channel)
if shift_channel is None:
return 400
return HTTPException(status_code=400)
print('!!!!')
print(shift_channel)
await shift_channel.send(embed=embed)
Expand Down

0 comments on commit e737d4d

Please sign in to comment.