From ca333808bc8095f68abbdabf228cd385a4057f54 Mon Sep 17 00:00:00 2001 From: Bryan Forbes Date: Fri, 8 Jan 2021 12:24:22 -0600 Subject: [PATCH] Updates for discord.py 1.6.0 --- discord-stubs/guild.pyi | 1 + poetry.lock | 16 ++++++---------- pyproject.toml | 2 +- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/discord-stubs/guild.pyi b/discord-stubs/guild.pyi index f42bbbf..00ad9d1 100644 --- a/discord-stubs/guild.pyi +++ b/discord-stubs/guild.pyi @@ -240,6 +240,7 @@ class Guild(Hashable): vanity_code: str = ..., system_channel: Optional[TextChannel] = ..., system_channel_flags: SystemChannelFlags = ..., + preferred_locale: str = ..., rules_channel: Optional[TextChannel] = ..., public_updates_channel: Optional[TextChannel] = ..., ) -> None: ... diff --git a/poetry.lock b/poetry.lock index f7f0184..fdcb4a3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -129,12 +129,11 @@ python-versions = ">=2.6, !=3.0.*, !=3.1.*" [[package]] name = "discord.py" -version = "1.6.0a2721+gbe18296" +version = "1.6.0" description = "A Python wrapper for the Discord API" category = "dev" optional = false python-versions = ">=3.5.3" -develop = false [package.dependencies] aiohttp = ">=3.6.0,<3.8.0" @@ -143,12 +142,6 @@ aiohttp = ">=3.6.0,<3.8.0" docs = ["sphinx (==3.0.3)", "sphinxcontrib-trio (==1.1.2)", "sphinxcontrib-websupport"] voice = ["PyNaCl (>=1.3.0,<1.5)"] -[package.source] -type = "git" -url = "https://github.com/Rapptz/discord.py" -reference = "be1829615ce5b340dce3f49ef4c12d7b74dcba8c" -resolved_reference = "be1829615ce5b340dce3f49ef4c12d7b74dcba8c" - [[package]] name = "distlib" version = "0.3.1" @@ -545,7 +538,7 @@ testing = ["pytest (>=3.5,!=3.7.3)", "pytest-checkdocs (>=1.2.3)", "pytest-flake [metadata] lock-version = "1.1" python-versions = "^3.6.1" -content-hash = "102d2766fee574f1b1b0b77f8667cfcc90a7734e637dcd9d105d3806eda9b256" +content-hash = "c57074852e92fcb08c040b4217bf9adf9dc435f1644ced068a30eaec4e53f305" [metadata.files] aiohttp = [ @@ -606,7 +599,10 @@ decorator = [ {file = "decorator-4.4.2-py2.py3-none-any.whl", hash = "sha256:41fa54c2a0cc4ba648be4fd43cff00aedf5b9465c9bf18d64325bc225f08f760"}, {file = "decorator-4.4.2.tar.gz", hash = "sha256:e3a62f0520172440ca0dcc823749319382e377f37f140a0b99ef45fecb84bfe7"}, ] -"discord.py" = [] +"discord.py" = [ + {file = "discord.py-1.6.0-py3-none-any.whl", hash = "sha256:3df148daf6fbcc7ab5b11042368a3cd5f7b730b62f09fb5d3cbceff59bcfbb12"}, + {file = "discord.py-1.6.0.tar.gz", hash = "sha256:ba8be99ff1b8c616f7b6dcb700460d0222b29d4c11048e74366954c465fdd05f"}, +] distlib = [ {file = "distlib-0.3.1-py2.py3-none-any.whl", hash = "sha256:8c09de2c67b3e7deef7184574fc060ab8a793e7adbb183d942c389c8b13c52fb"}, {file = "distlib-0.3.1.zip", hash = "sha256:edf6116872c863e1aa9d5bb7cb5e05a022c519a4594dc703843343a9ddd9bff1"}, diff --git a/pyproject.toml b/pyproject.toml index 752b03f..779d6a3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ typing-extensions = "^3.7.4" [tool.poetry.dev-dependencies] black = "^20.8b1" -"discord.py" = {git = "https://github.com/Rapptz/discord.py", rev = "be1829615ce5b340dce3f49ef4c12d7b74dcba8c"} +"discord.py" = "^1.6.0" flake8 = "^3.8.4" flake8-pyi = "^20.10.0" isort = "^5.7.0"