added logger for bot to discord
This commit is contained in:
parent
f175fa90ba
commit
d23b49a77e
3
main.py
3
main.py
|
|
@ -404,6 +404,9 @@ async def setCarrierState(ctx, carrier, state):
|
|||
if response == 200:
|
||||
await ctx.followup.send(f"The carrier {carrier} has been set to {state}")
|
||||
print(f"{author} set {carrier} state to {state}")
|
||||
channel = bot.get_channel(1521963883018063882)
|
||||
await channel.send(f"{author} set {carrier} state to {state}")
|
||||
|
||||
else:
|
||||
await ctx.followup.send(f"i fucked up ")
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user