Custom context so that we can have uniform error handling across all cogs. Simply need to do ctx.error(<error message here>) - It then sends a red embed with the heading Error and the text stating the error message. Automatically delete after 5 minutes. Also use logger within error custom context to log within specified channel/file.
Custom context so that we can have uniform error handling across all cogs. Simply need to do
ctx.error(<error message here>)
- It then sends a red embed with the heading Error and the text stating the error message. Automatically delete after 5 minutes. Also use logger within error custom context to log within specified channel/file.