diff --git a/CHANGELOG.md b/CHANGELOG.md index 38433fb739..b80ff6a956 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ however, insignificant breaking changes do not guarantee a major version bump, s - Plugin registry now loads the local file when it failed to fetch from the repo. - `registry_plugins_only` is now a configurable option within the bot. +- discord.py version has been updated to 2.4.0. ### Removed diff --git a/bot.py b/bot.py index cf9a323879..8859bba63a 100644 --- a/bot.py +++ b/bot.py @@ -1777,7 +1777,7 @@ def main(): pass # check discord version - discord_version = "2.3.2" + discord_version = "2.4.0" if discord.__version__ != discord_version: logger.warning( "discord.py version mismatch detected. Expected %s, received %s", diff --git a/poetry.lock b/poetry.lock index 53bd1d6183..b1d68fd85f 100644 --- a/poetry.lock +++ b/poetry.lock @@ -583,13 +583,13 @@ files = [ [[package]] name = "discord-py" -version = "2.3.2" +version = "2.4.0" description = "A Python wrapper for the Discord API" optional = false -python-versions = ">=3.8.0" +python-versions = ">=3.8" files = [ - {file = "discord.py-2.3.2-py3-none-any.whl", hash = "sha256:9da4679fc3cb10c64b388284700dc998663e0e57328283bbfcfc2525ec5960a6"}, - {file = "discord.py-2.3.2.tar.gz", hash = "sha256:4560f70f2eddba7e83370ecebd237ac09fbb4980dc66507482b0c0e5b8f76b9c"}, + {file = "discord.py-2.4.0-py3-none-any.whl", hash = "sha256:b8af6711c70f7e62160bfbecb55be699b5cb69d007426759ab8ab06b1bd77d1d"}, + {file = "discord_py-2.4.0.tar.gz", hash = "sha256:d07cb2a223a185873a1d0ee78b9faa9597e45b3f6186df21a95cec1e9bcdc9a5"}, ] [package.dependencies] @@ -600,9 +600,9 @@ cchardet = {version = "2.1.7", optional = true, markers = "python_version < \"3. orjson = {version = ">=3.5.4", optional = true, markers = "extra == \"speed\""} [package.extras] -docs = ["sphinx (==4.4.0)", "sphinxcontrib-trio (==1.1.2)", "sphinxcontrib-websupport", "typing-extensions (>=4.3,<5)"] +docs = ["sphinx (==4.4.0)", "sphinx-inline-tabs (==2023.4.21)", "sphinxcontrib-applehelp (==1.0.4)", "sphinxcontrib-devhelp (==1.0.2)", "sphinxcontrib-htmlhelp (==2.0.1)", "sphinxcontrib-jsmath (==1.0.1)", "sphinxcontrib-qthelp (==1.0.3)", "sphinxcontrib-serializinghtml (==1.1.5)", "sphinxcontrib-trio (==1.1.2)", "sphinxcontrib-websupport (==1.2.4)", "typing-extensions (>=4.3,<5)"] speed = ["Brotli", "aiodns (>=1.1)", "cchardet (==2.1.7)", "orjson (>=3.5.4)"] -test = ["coverage[toml]", "pytest", "pytest-asyncio", "pytest-cov", "pytest-mock", "typing-extensions (>=4.3,<5)"] +test = ["coverage[toml]", "pytest", "pytest-asyncio", "pytest-cov", "pytest-mock", "typing-extensions (>=4.3,<5)", "tzdata"] voice = ["PyNaCl (>=1.3.0,<1.6)"] [[package]] @@ -1642,4 +1642,4 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" python-versions = ">=3.9, <3.12" -content-hash = "c24bdfb735d20c01402beebae7f66993e2e56109fdc4140dcb31534fa5db8582" +content-hash = "a2d34ceff483cb78cc770a517ca64addffe58145c20c4178973fe2ac4d8eb046" diff --git a/pyproject.toml b/pyproject.toml index fc952cffa2..f3279adbe3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,7 @@ uvloop = {version = "~=0.17.0", markers = "sys_platform != 'win32'"} requests = "~=2.31.0" attrs = "~=23.1.0" strenum = "^0.4.15" -"discord.py" = {version = "2.3.2", extras = ["speed"]} +"discord.py" = {version = "2.4.0", extras = ["speed"]} packaging = "^23.2" [tool.poetry.group.dev.dependencies]