Python-Practice-Discord / template_python_discord_bot

MIT License
2 stars 3 forks source link

On error send a message to a discord channel with the exception #12

Open peterHoburg opened 3 years ago

peterHoburg commented 3 years ago

When an error happens anywhere in any code, a message should be sent to an admin channel so that issues can be seen quickly. This should include any errors in code called by the discord bot code. It should be possible to use the built in Discord.py client.on_error() https://discordpy.readthedocs.io/en/stable/api.html?highlight=error#discord.on_error

Acceptance Criteria

BenDev9 commented 3 years ago

Hi! Can I get this assigned to me? @peterHoburg

Practice-makes-perfect90 commented 3 years ago

Hi! Can I get this assigned to me? @peterHoburg

added you. What is your discord username so we can discuss this?

BenDev9 commented 3 years ago

wolf9#9636 @Practice-makes-perfect90

Practice-makes-perfect90 commented 3 years ago

wolf9#9636 @Practice-makes-perfect90

adding you, check your friend requests