๐ Hi, i'm Arjun Sharda. I'm a full-stack developer and speaker. I love programming, and you might catch me in my free time contributing to open source or making a new project.
you really should add a
@events.on_error
async def on_error_example(error):
bot.send_message(f"There is a new error {error}") so make something like that so every time there is a error it sends it to the channel and does not turn off the bot
Additionally, content should simultaneously be changed to be optional here, to match the Guilded Webhook API ( https://guildedapi.com/resources/webhook/#jsonform-params ). Possibly with an in-function check to make sure one of content or embeds are provided?