#How do I log to a different server when my bot runs into an error?

1 messages · Page 1 of 1 (latest)

clear panther
#

I tried

bot.get_guild(SERVER_ID).get_channel(CHANNEL_ID).send(f"Image link invalid for {hotel['image']}")

bot is of Type interactions.Client, initialized with bot = Client(intents=Intents.DEFAULT | Intents.MESSAGE_CONTENT)

torpid lionBOT
#

Hey! Once your issue is solved, press the button below to close this thread!

clear panther
#

Omg is it because I forgot await ._.

tawdry prism
#

almost certainly

clear panther
#

Welp

#

Thanks