site
site copied to clipboard
Migrate on_command_error pin
As part of the migration of the #discord-bots pinned content from discord to the site, this PR migrates the pin regarding on_command_error of the discord.py library "eating" (silencing) unhandled errors.
This PR also adds a few extra items, including:
- General markdown improvements, formatting
- Fixing a few inaccuracies (e.g generic
commands.BagArgumenthas been changed tocommands.MemberNotFound - An
elifstatement handling another error, showing users that they can handle any number of errors they want to - Showing how to use specific properties of the errors
commands.MemberNotFound.argument,commands.MissingRequiredArgument.param - Implementing the
on_command_errorfunction with and without a bot subclass, as the function in itself does not do anything, and needs to be bound to the bot somehow
Deploy Preview for pydis-static ready!
| Name | Link |
|---|---|
| Latest commit | 0ff39f6cef7d889cc2e14918d65ffaaf05efec6f |
| Latest deploy log | https://app.netlify.com/sites/pydis-static/deploys/637e7fad2b0f4b0008e013b9 |
| Deploy Preview | https://deploy-preview-765--pydis-static.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.