aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/utils/extensions.py (follow)
Commit message (Collapse)AuthorAgeLines
* Move internal eval and rename utils to coreGravatar Janine vN2021-09-05-266/+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-3/+4
|\
| * Fix type annotationsGravatar decorator-factory2021-08-31-3/+4
| |
* | Start and end codeblocks with newlines to avoid android rendering them inlineGravatar wookie1842021-09-01-4/+4
|/
* Migrate to Discord.py 2.0a0Gravatar Matteo Bertucci2021-08-31-1/+1
| | | | | | Since the Discord.py repository has been archived, we can switch to the latest commit of 2.0a0, knowing no breaking change will occur (still pinned to the commit just in case). This commit also solves two small problems due to that fix, the avatar interface changing and Embed.name disappearing. Quite a painless migration.
* make invoke_help_command only take ctxGravatar ToxicKidz2021-03-13-4/+4
|
* Make flake8 happy.Gravatar ToxicKidz2021-03-12-1/+1
|
* make utility invoke_help_command functionGravatar ToxicKidz2021-03-12-9/+5
|
* change ctx.send_help to ctx.invoke(help_command)Gravatar ToxicKidz2021-03-11-4/+8
| | | | ;
* Remove references to old name.Gravatar Leon Sandøy2020-11-21-1/+1
| | | | | I've tried to replace this with generic references where appropriate, but a lot of the time it just doesn't make a lot of sense to do so.
* Fix extensions command bot avatar urlGravatar Gustav Odinger2020-09-21-1/+1
| | | | - Uses self.bot (the bot instance) instead of Bot (the bot object) to access avatar url
* Move bot repo URL constant and delete avatar URLGravatar Gustav Odinger2020-09-21-3/+3
| | | | | | | | - Avatar URL can be accessed through bot.user.avatar_url and won't need to be a constant - Bot repo URL fits better under the Client named tuple - URLs class removed, since it was no longer used
* Remove modlog from unload blacklist Gravatar gustavwilliam2020-09-21-1/+1
| | | | | - No modlog exists for SeasonalBot and is therefore redundant Co-authored-by: Dennis Pham <[email protected]>
* Update max_size of paginator Gravatar gustavwilliam2020-09-21-1/+1
| | | | | - Should prevent `RuntimeError: Line exceeds maximum page size 698` Co-authored-by: Dennis Pham <[email protected]>
* Add extensions managment commandGravatar Gustav Odinger2020-09-21-0/+265
- Allows admins and core developes to manage loaded and unloaded extensions (mostly cogs) - Mostly copied from the 'Python' bot, with some tweaks to make it work for SeasonalBot