Changelog

10.3.0 19th September 2023

  • [Feature] #195: Set discord, websockets, chardet & async_rediscache loggers to warning level and asyncio to info level by default.

  • [Feature] #195: Add log_format to pydis_core.utils.logging to allow for standardised logging across all services using pydis_core.

10.2.0 28th August 2023

10.1.0 25th July 2023

10.0.0 14th July 2023

9.9.2 2nd July 2023

  • [Bug] #185: Update expiry label from 1 month to 30 days in paste service.

9.9.1 22nd June 2023

  • [Bug] #183: Push the correct changeset to pypi.

9.9.0 18th June 2023

9.8.0 13th June 2023

9.7.0 10th June 2023

  • [Feature] #176: Migrate repo to use ruff for linting.

  • [Feature] #177: Automatically handle discord.Forbidden 90001 errors in all schedules.

  • [Feature] #179: Add paste service utility to upload text to our paste service.

9.6.0 6th May 2023

  • [Feature] #175: Log when waiting for the guild to be available before loading cogs.

  • [Support] #175: Bump Discord.py to 2.2.3.

9.5.1 2nd March 2023

9.5.0 28th February 2023

9.4.1 9th February 2023

9.4.0 24th December 2022

9.3.1 23rd December 2022

9.3.0 13th December 2022

9.2.0 17th November 2022

  • [Support] #151: Add support for Python 3.11.

9.1.1 14th November 2022

  • [Bug] #162: Handle not being able to delete the interaction message on button press/timeout.

9.1.0 13th November 2022

  • [Feature] #88: Add a decorator that stops successive duplicate invocations of commands.

  • [Feature] #158: Bump Discord.py to 2.1.0.

9.0.0 5th November 2022

  • [Breaking] #157: Rename project to pydis_core to allow for publishing to pypi.

8.2.1 18th September 2022

8.2.0 18th August 2022

8.1.0 16th August 2022

8.0.0 27th July 2022

  • [Breaking] #110: Bump async-rediscache to v1.0.0-rc2.

  • [Bug] #107: Declare aiodns as a project dependency.

  • [Support] #107: Add a sample project with boilerplate and documentation explaining how to develop for bot-core.

  • [Support] #108: Bump Python version to 3.10.*.

7.5.0 23rd July 2022

  • [Feature] #101: Add a utility to clean a string or referenced message’s content.

7.4.0 17th July 2022

7.3.1 16th July 2022

7.3.0 16th July 2022

7.2.2 9th July 2022

  • [Bug] #98: Only close BotBase.stats._transport if BotBase.stats was created.

7.2.1 30th June 2022

  • [Bug] #91: Add missing await to BotBase.ping_services in some cases.

  • [Bug] #91: Pass missing self parameter to BotBase.ping_services.

  • [Bug] #91: Fix incorrect docstring for pydis_core.utils.member.handle_role_change.

  • [Bug] #96: Fix attempts to connect to BotBase.statsd_url when it is None.

7.2.0 28th June 2022

  • [Support] #93: Bump Discord.py to 0eb3d26:

    • Adds support for auto mod, of which the new auto_mod MESSAGE_TYPE is needed for our filter system.

7.1.3 30th May 2022

7.1.0 24th May 2022

  • [Feature] #78: Bump Discord.py to 4cbe8f5:

    • This fixes a bug with permission resolution when dealing with timed out members.

7.0.0 10th May 2022

  • [Breaking] #75: Discord invite regex no longer returns a URL safe result, refer to documentation for safely handling it.

  • [Bug] #75: Capture all characters up to a whitespace in the Discord Invite regex.

6.4.0 26th April 2022

  • [Feature] #72: Bump discord.py to 5a06fa5:

    • Notably, one of the commits in this bump dynamically extends the timeout of Guild.chunk() based on the number or members, so it should actually work on our guild now.

6.3.2 25th April 2022

  • [Bug] #69: Actually use statsd_url when it gets passed to BotBase.

6.3.1 21st April 2022

  • [Bug] #68: Correct version number in pyproject.toml.

6.3.0 21st April 2022

  • [Feature]: (Committed directly to main) Don’t load modules starting with _.

6.2.0 21st April 2022

  • [Feature] #66: Load each cog in it’s own task to avoid a single cog crashing entire load process.

6.1.0 20th April 2022

  • [Feature] #65: Add unqualify to the pydis_core.utils namespace for use in bots that manipulate extensions.

6.0.0 19th April 2022

  • [Breaking] #64: Bump discord.py to 987235d:

    • This reverts a change to help command behaviour that broke our custom pagination.

    • This also adds basic forum channel support to discord.py.

5.0.4 18th April 2022

  • [Feature] #63: Allow passing an api_client to BotBase.__init__ to specify the pydis_core.site_api.APIClient instance to use.

5.0.3 18th April 2022

  • [Bug] #61: Reconnect to redis session on setup if it is closed.

5.0.2 5th April 2022

  • [Bug] #56: Move the creation of the asyncio.Event, BotBase._guild_available to within the setup hook, to avoid a deprecation notice.

  • [Bug] #56: Create a dummy AsyncstatsdClient before connecting to real url, in case a connection cannot be made on init.

5.0.1 2nd April 2022

  • [Bug] #54: Move creation of BotBase’s aiohttp.AsyncResolver to the async setup hook, to avoid deprecation notice.

5.0.0 2nd April 2022

  • [Breaking] #42: Remove public extensions util.

  • [Feature] #42: Add async statsd client.

  • [Feature] #42: Add BotBase, a discord.ext.commands.Bot sub-class, which abstracts a lot of logic shared between our bots.

  • [Support] #42: Bump Discord.py to latest alpha commit.

4.0.0 14th March 2022

  • [Breaking] #39: Migrate back to Discord.py 2.0.

3.0.1 5th March 2022

  • [Bug] #37: Setup log tracing when pydis_core.utils.logging is imported so that it can be used within pydis_core functions.

3.0.0 3rd March 2022

  • [Breaking] #35: Move apply_monkey_patches() directly to pydis_core.utils namespace.

2.1.0 24th February 2022

  • [Feature] #34: Port the Site API wrapper from the bot repo.

2.0.0 22nd February 2022

  • [Breaking] #32: Migrate from discord.py 2.0a0 to disnake.

  • [Breaking] #35: Moved regex to pydis_core.utils namespace.

  • [Feature] #29: Port many common utilities from our bots:

    • caching

    • channel

    • extensions

    • loggers

    • members

    • scheduling

  • [Feature] #32: Add common monkey patches.

  • [Support] #2: Added intersphinx to docs.

1.2.0 9th January 2022

  • [Feature] #12: Code block detection regex.

1.1.0 2nd December 2021

  • [Feature] #2: Regex utility.

  • [Support] #2: Autogenerated docs.

1.0.0 17th November 2021

  • [Feature] #1: Core package, poetry, and linting CI.