aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* Reconnect to redis session on setup if it is closedGravatar Chris Lovering2022-04-18-2/+10
|
* Bump version number and log changev5.0.2Gravatar Chris Lovering2022-04-08-1/+8
|
* Create a dummy AsyncstatsdClient before connecting to the real urlGravatar Chris Lovering2022-04-08-2/+7
| | | | This is in case a connection cannot be made on init.
* Move the creation of BotBase._guild_available to within the setup hookGravatar Chris Lovering2022-04-08-1/+3
| | | | This is to avoid a deprecation notice.
* Merge pull request #57 from python-discord/dependabot/pip/furo-2022.4.7Gravatar ChrisJL2022-04-08-5/+5
|\ | | | | Bump furo from 2022.3.4 to 2022.4.7
| * Bump furo from 2022.3.4 to 2022.4.7Gravatar dependabot[bot]2022-04-08-5/+5
|/ | | | | | | | | | | | | | | Bumps [furo](https://github.com/pradyunsg/furo) from 2022.3.4 to 2022.4.7. - [Release notes](https://github.com/pradyunsg/furo/releases) - [Changelog](https://github.com/pradyunsg/furo/blob/main/docs/changelog.md) - [Commits](https://github.com/pradyunsg/furo/compare/2022.03.04...2022.04.07) --- updated-dependencies: - dependency-name: furo dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #55 from python-discord/dependabot/pip/pre-commit-2.18.1Gravatar ChrisJL2022-04-08-6/+7
|\ | | | | Bump pre-commit from 2.17.0 to 2.18.1
| * Bump pre-commit from 2.17.0 to 2.18.1Gravatar dependabot[bot]2022-04-04-6/+7
|/ | | | | | | | | | | | | | | Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 2.17.0 to 2.18.1. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](https://github.com/pre-commit/pre-commit/compare/v2.17.0...v2.18.1) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
* Merge pull request #52 from python-discord/add-api-testGravatar ChrisJL2022-04-02-0/+69
|\ | | | | Migrate site_api tests from bot
| * Merge branch 'main' into add-api-testGravatar ChrisJL2022-04-02-7/+10
| |\ | |/ |/|
* | Merge pull request #54 from python-discord/move-creation-of-AsyncResolverv5.0.1Gravatar ChrisJL2022-04-02-7/+10
|\ \ | | | | | | Move the creation of BotBase's AsyncResolver to async setup
| * | Move the creation of BotBase's AsyncResolver to async setupGravatar Chris Lovering2022-04-02-7/+10
|/ / | | | | | | There is a deprecation notice that this must be created within an async function. This isn't a breaking change.
| * Migrate site_api tests from botGravatar Chris Lovering2022-04-02-0/+69
|/ | | | | | Co-authored-by: Joe Banks <[email protected]> Co-authored-by: Mark <[email protected]> Co-authored-by: Sebastiaan Zeeff <[email protected]>
* Merge pull request #50 from python-discord/update-all-depsGravatar ChrisJL2022-04-02-29/+32
|\ | | | | Bump all dev deps to latest versions
| * Add ignore for typing.Any in flake8Gravatar Chris Lovering2022-04-02-1/+1
| |
| * Bump all dev deps to latest versionsGravatar Chris Lovering2022-04-02-28/+31
|/
* Merge pull request #49 from python-discord/5.0.0-changelogv5.0.0Gravatar ChrisJL2022-04-02-1/+7
|\ | | | | Update changelog with latest changes
| * Bump version to 5.0.0Gravatar Chris Lovering2022-04-02-1/+1
| |
| * Update changelog with latest changesGravatar Chris Lovering2022-04-02-0/+6
|/
* Merge pull request #42 from python-discord/bump-d.py-and-add-BotBaseGravatar ChrisJL2022-04-02-70/+701
|\ | | | | Bump d.py and add bot base
| * Use imperative mood in docstringsGravatar ChrisJL2022-04-02-1/+1
| | | | | | Co-authored-by: Mark <[email protected]>
| * Install optional deps during CIGravatar Chris Lovering2022-03-31-2/+4
| |
| * Remove BotBase.closing_tasksGravatar Chris Lovering2022-03-31-7/+0
| | | | | | | | | | | | | | | | | | Doing a naive git log --grep closing_tasks on the bot repo I found these two places it was used: https://github.com/python-discord/bot/commit/429cc865309242f0cf37147f9c3f05036972eb8c - Reddit cog to revoke the access token on unload, which has since been moved to lance (without this feature). https://github.com/python-discord/bot/commit/f4004d814c1babfb5906afb8cd9944ceef90a2a3 - Silence cog, which has been removed since. Since this list of tasks to close when closing the Discord connection is no longer used, it has been removed from BotBase.
| * Add __all__ attrs to async_stats and site_api modulesGravatar Chris Lovering2022-03-31-0/+6
| |
| * Remove inappropriate abstractmethod tagsGravatar Chris Lovering2022-03-31-3/+0
| |
| * Mark async-rediscache as an optional extra dependencyGravatar Chris Lovering2022-03-31-22/+37
| |
| * Comment on what nitpick_ignore_regex does in conf.pyGravatar Chris Lovering2022-03-24-0/+2
| |
| * Provide a bot.all_extensions instance attributeGravatar Chris Lovering2022-03-24-6/+13
| | | | | | | | This allows commands like extensions and source to see all of the available commands, rather than just the currently loaded commands.
| * Remove unneeded kwargs in BotBaseGravatar Chris Lovering2022-03-24-6/+0
| | | | | | | | | | | | Since *args and **kwargs already allow these to be passed, there is no use in explicitly listing them. allowed_roles has been left there, to ensure that it is always passed, since it's important to use this to avoid bots being able to ping large roles.
| * Add BotBase that will act as a base for all our botsGravatar Chris Lovering2022-03-24-8/+280
| | | | | | | | | | | | | | This commit also modifies the extensions util, since it's now directly used by bot-core. Co-authored-by: Mark <[email protected]> Co-authored-by: Hassan Abouelela <[email protected]>
| * Add async_stats subclass of statsdGravatar Chris Lovering2022-03-24-1/+57
| | | | | | | | | | | | This is used by the bots to push stats to statsd in a non-blocking way. Co-authored-by: Joe Banks <[email protected]>
| * Bump d.py version and add new requirements for utilsGravatar Chris Lovering2022-03-23-60/+347
|/
* Merge pull request #39 from python-discord/revert-disnakev4.0.0Gravatar Hassan Abouelela2022-03-15-54/+56
|\ | | | | Revert disnake
| * Bump version and document breaking changeGravatar Chris Lovering2022-03-15-1/+4
| |
| * Change all instance of disnake to discordGravatar Chris Lovering2022-03-15-32/+32
| |
| * Revert back to discord.pyGravatar Chris Lovering2022-03-15-21/+20
|/ | | | This pins at a newer version of Discord.py too, to include the recent changes to bring it up to v10 of the Discord API
* Merge pull request #37 from python-discord/fix/trace-loggingv3.0.1Gravatar ChrisJL2022-03-05-2/+11
|\ | | | | Set the logger class in `logging.py` to `CustomLogger`
| * fix: Set the logger class in botcore.utils.logging.py to the CustomLogger classGravatar ToxicKidz2022-03-05-2/+11
|/ | | | Fixes an issue when using trace logging on loggers that were instantiated before the class was set.
* Merge pull request #35 from python-discord/monkey-patch-in-util-namespacev3.0.0Gravatar ChrisJL2022-03-03-18/+30
|\ | | | | Monkey patch in util namespace
| * Document breaking monkey patch changeGravatar Chris Lovering2022-03-03-2/+5
| |
| * Don't break if functions are directly in module init filesGravatar Chris Lovering2022-03-03-1/+4
| |
| * Surface apply_monkey_patches directly in the util namespaceGravatar Chris Lovering2022-03-03-15/+21
|/
* Merge pull request #34 from python-discord/feat/site-api-wrapperv2.1.0Gravatar ToxicKidz2022-02-27-2/+160
|\ | | | | Port the Site API wrapper from the bot repo
| * feat: Port the Site API wrapper from the bot repoGravatar ToxicKidz2022-02-25-2/+160
|/ | | | | Co-authored-by: Johannes Christ <[email protected]> Co-authored-by: MarkKoz <[email protected]>
* Merge pull request #32 from python-discord/disnake-migrationv2.0.0Gravatar ChrisJL2022-02-25-156/+343
|\ | | | | Disnake migration
| * Custom css to de-bold index pageGravatar Chris Lovering2022-02-24-2/+11
| | | | | | | | Also bump pyproject version to 2.0.0 to match changelog
| * Migrate to using disnake over Discord.py 2.0a0Gravatar Chris Lovering2022-02-24-35/+38
| |
| * Add disnake monkey patchesGravatar Chris Lovering2022-02-24-1/+85
| | | | | | | | | | | | | | This covers the monkeypatches for Commands and Groups to allow for root aliases, along with a monkey patch for typing events, in case discord decides to raise 403s again. Co-authored-by: Mark <[email protected]> Co-authored-by: Hassan Abouelela <[email protected]>
| * Change discord API wrapper to disnakeGravatar Chris Lovering2022-02-24-122/+213
|/ | | | This also bumps the dev deps
* Merge pull request #29 from python-discord/port-utilitiesGravatar Hassan Abouelela2022-02-24-212/+706
|\ | | | | Port utilities