aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/evergreen/error_handler.py (follow)
Commit message (Collapse)AuthorAgeLines
* Move internal eval and rename utils to coreGravatar Janine vN2021-09-05-182/+0
| | | | | | | | | Part of this restructure involves splitting out the massive evergreen folder into a `fun` folder and then a `utilities` folder. To help with that we've rename the `util` folder to `core`. The core functions to run the bot have been moved into this folder. `.source`, `.ping`, and `.int e` have been moved into this folder.
* Merge branch 'main' into android-codeblock-fixGravatar Xithrius2021-09-03-2/+3
|\
| * Removed None return annotation for any __init__Gravatar Xithrius2021-09-01-1/+1
| |
| * Fix type annotationsGravatar decorator-factory2021-08-31-1/+2
| |
* | Start and end codeblocks with newlines to avoid android rendering them inlineGravatar wookie1842021-09-01-2/+2
|/
* Improve code consistency and spacing in the Wikipedia CogGravatar D0rs4n2021-08-17-2/+2
|
* Remove duplicated code, improve consitency in Wikipedia Cog, and error_handlerGravatar D0rs4n2021-08-08-5/+4
|
* Improve code consitency in Wikipedia Cog,Exceptions, and Error handlerGravatar D0rs4n2021-08-08-3/+8
|
* Refactor wiki_request, add External API related error,-handlerGravatar D0rs4n2021-08-02-1/+6
| | | | | - Refactor wiki_request in the Wikipedia Cog, remove unnecessary else statements. - Add ExternalAPIError, and a handler for this Exception into error_handler
* (hotfix): Add __init__ to error handler cogGravatar Shivansh2021-05-20-1/+4
|
* Merge branch 'main' into feature/command-suggestionsGravatar Shivansh-0072021-05-20-15/+16
|\
| * chore: Use ctx instead of ctx.channelGravatar ToxicKidz2021-05-10-4/+1
| |
| * chore: Apply anand's suggested changesGravatar ToxicKidz2021-05-05-1/+1
| |
| * fix: Pass bot only when __init__ is definedGravatar ToxicKidz2021-05-04-1/+1
| |
| * chore: Prefer double quotes over single quotesGravatar ToxicKidz2021-05-04-2/+2
| |
| * chore(evergreen): remove unneeded cog constructorsGravatar vcokltfre2021-04-19-3/+0
| |
| * chore(evergreen): format each cog load docstring the same wayGravatar vcokltfre2021-04-19-1/+1
| |
| * chore: switch commands.Bot typehints to bot.bot's BotGravatar vcokltfre2021-04-19-2/+3
| |
| * fix: display help for the correct command when an error occurs in timedGravatar vcokltfre2021-04-14-2/+8
| |
* | Use constants for delete delay and remove redundant f-string.Gravatar Shivansh-0072021-04-03-3/+3
| |
* | Fix importsGravatar Shivansh-0072021-03-23-2/+1
| |
* | Feature: suggest command usage for misspell commandsGravatar Shivansh-0072021-03-23-0/+35
|/
* Correct the parentheses formatGravatar Shivansh-0072021-02-24-1/+2
| | | Co-authored-by: Hassan Abouelela <[email protected]>
* Make Flake8 happy (reorder imports)Gravatar Shivansh-0072021-02-24-1/+1
|
* Mentioned community bot commands channel while sending embed for No Private ↵Gravatar Shivansh-0072021-02-24-0/+133
| | | | Message error
* Make connect 4 and its sub command ai guild onlyGravatar Shivansh-0072021-02-24-129/+0
|
* Check value of handled attribute on error in global error handler.Gravatar Rohan2020-12-04-1/+1
|
* Modify error handler check for locally handled errors.Gravatar Rohan2020-12-02-2/+2
| | | | | Error handler now checks if the error has the attribute "handled" for locally handled errors.
* Get rid from branding management stuffGravatar ks1292020-11-17-5/+1
|
* (Error Handler): Added `UserNotPlayingError` catching to error handler.Gravatar ks1292020-04-08-1/+5
|
* Deseasonify: log in `add_cog` rather than in each `setup`Gravatar kwzrd2020-03-28-1/+0
| | | | | | | | | | | | The previous system required each extension's `setup` func to log that the cog was loaded. This leads to inconsistent messages all trying to convey the same thing, variable logger names in the output file are difficult to read, and several extensions were not logging at all. By logging directly in the `add_cog` method, we reduce code repetition, ensure consistent format, and remove the responsibility to remember that a log should be made.
* Merge master: sentry sdk, updated contributing docsGravatar kwzrd2020-03-28-1/+20
|
* Deseasonify: rename `seasons` pkg to `exts`Gravatar kwzrd2020-03-28-0/+111
It is believed that this is now a more logical name for the package, as extensions no longer bind to seasons. Internally, packages are still grouped into seasonal sub-packages. There are quite a few, and it makes sense to group them by a common theme that inspired their functionality.