diff --git a/venv/Lib/site-packages/discord.py-1.3.3.dist-info/INSTALLER b/venv/Lib/site-packages/discord.py-1.3.4.dist-info/INSTALLER similarity index 100% rename from venv/Lib/site-packages/discord.py-1.3.3.dist-info/INSTALLER rename to venv/Lib/site-packages/discord.py-1.3.4.dist-info/INSTALLER diff --git a/venv/Lib/site-packages/discord.py-1.3.3.dist-info/LICENSE b/venv/Lib/site-packages/discord.py-1.3.4.dist-info/LICENSE similarity index 100% rename from venv/Lib/site-packages/discord.py-1.3.3.dist-info/LICENSE rename to venv/Lib/site-packages/discord.py-1.3.4.dist-info/LICENSE diff --git a/venv/Lib/site-packages/discord.py-1.3.3.dist-info/METADATA b/venv/Lib/site-packages/discord.py-1.3.4.dist-info/METADATA similarity index 99% rename from venv/Lib/site-packages/discord.py-1.3.3.dist-info/METADATA rename to venv/Lib/site-packages/discord.py-1.3.4.dist-info/METADATA index e79e1780..24e1f486 100644 --- a/venv/Lib/site-packages/discord.py-1.3.3.dist-info/METADATA +++ b/venv/Lib/site-packages/discord.py-1.3.4.dist-info/METADATA @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: discord.py -Version: 1.3.3 +Version: 1.3.4 Summary: A Python wrapper for the Discord API Home-page: https://github.com/Rapptz/discord.py Author: Rapptz diff --git a/venv/Lib/site-packages/discord.py-1.3.3.dist-info/RECORD b/venv/Lib/site-packages/discord.py-1.3.4.dist-info/RECORD similarity index 88% rename from venv/Lib/site-packages/discord.py-1.3.3.dist-info/RECORD rename to venv/Lib/site-packages/discord.py-1.3.4.dist-info/RECORD index 1a0dd02e..f8f1e533 100644 --- a/venv/Lib/site-packages/discord.py-1.3.3.dist-info/RECORD +++ b/venv/Lib/site-packages/discord.py-1.3.4.dist-info/RECORD @@ -1,11 +1,11 @@ -discord.py-1.3.3.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 -discord.py-1.3.3.dist-info/LICENSE,sha256=d2k2mW1m6rbORuTheZyYRXXbkg1lWLfG7jHUdI3YLGI,1078 -discord.py-1.3.3.dist-info/METADATA,sha256=uP1_Pp3-602wgD22GCqlPWqWslbQCRqbelrv_dag9zY,4152 -discord.py-1.3.3.dist-info/RECORD,, -discord.py-1.3.3.dist-info/WHEEL,sha256=v8slff5hmCpvciQ3G55d2d1CnOBupjDFJHDE2dUb1Ao,97 -discord.py-1.3.3.dist-info/authors.sh,sha256=voAGwpshKMpc51nQU3Zst1sKCUJvtjhjZCo6MKAp9kU,203 -discord.py-1.3.3.dist-info/top_level.txt,sha256=fJkrNbR-_8ubMBUcDEJBcfkpECrvSEmMrNKgvLlQFoM,8 -discord/__init__.py,sha256=UisQAFSpIJQDeWgS9Xt6lkCE9t2AWj3Vh32aL-pxxVQ,1881 +discord.py-1.3.4.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +discord.py-1.3.4.dist-info/LICENSE,sha256=d2k2mW1m6rbORuTheZyYRXXbkg1lWLfG7jHUdI3YLGI,1078 +discord.py-1.3.4.dist-info/METADATA,sha256=30YOMTEnzSA7VkrKKtHEuICPVvHlxleM_TlTShBMRfc,4152 +discord.py-1.3.4.dist-info/RECORD,, +discord.py-1.3.4.dist-info/WHEEL,sha256=v8slff5hmCpvciQ3G55d2d1CnOBupjDFJHDE2dUb1Ao,97 +discord.py-1.3.4.dist-info/authors.sh,sha256=voAGwpshKMpc51nQU3Zst1sKCUJvtjhjZCo6MKAp9kU,203 +discord.py-1.3.4.dist-info/top_level.txt,sha256=fJkrNbR-_8ubMBUcDEJBcfkpECrvSEmMrNKgvLlQFoM,8 +discord/__init__.py,sha256=xoIWu3R526C68UHjy6ZkQIFleM1KxNzWSwIsR69fqaY,1881 discord/__main__.py,sha256=-3RcWMylqGFhMyADXeBMqCbBrhaY_qAf65Gi-CnzomI,9974 discord/__pycache__/__init__.cpython-36.pyc,, discord/__pycache__/__main__.cpython-36.pyc,, @@ -52,7 +52,7 @@ discord/__pycache__/utils.cpython-36.pyc,, discord/__pycache__/voice_client.cpython-36.pyc,, discord/__pycache__/webhook.cpython-36.pyc,, discord/__pycache__/widget.cpython-36.pyc,, -discord/abc.py,sha256=_j4Z-DehtghvpAsj8_6jsv2XXFZpchrJ3ebD3sKv4Vk,37814 +discord/abc.py,sha256=0r-rKEeIyCJc_uUTNaUIkk-eLjPQU_IPOMWR80g-BXs,38152 discord/activity.py,sha256=xuBL200hBkbZLs281RWnJgoAQrHSkkVu25b1kR1Chlc,23313 discord/appinfo.py,sha256=pSljy54mIZa9rkyYfh0vsuKtSb_26ay-PQGgPMZatUo,5229 discord/asset.py,sha256=pMBqi5tHhH5ycmky1saYHUv8IQjXmyASEjguOZMf6dw,7595 @@ -62,7 +62,7 @@ discord/bin/libopus-0.x64.dll,sha256=zqIypk0pRCwXafYPCDVbDJsWPjNb-Emf8I2YbWsN790 discord/bin/libopus-0.x86.dll,sha256=3T1ErXk2NKZC13CzwfovFOmdSXtkwpoVRL3j8FykAlM,380885 discord/calls.py,sha256=voiZw0sLyJUraBoSs7dtsQRsq7Xj2Z6yO4YBie3_P4U,5292 discord/channel.py,sha256=3HXA_jBhPCzA7ZseiQ9BamXHFLuIAFvkCTnOyjagXwU,41759 -discord/client.py,sha256=CDNkDcBBK3JMyFUp04JBV_kbKLNLtZXuOgmdeyMuCpc,45906 +discord/client.py,sha256=cGeZSJ4Ob0WyeUF5GwQxpEA6f0FJMIRFnuvXI8iy2mM,44566 discord/colour.py,sha256=hhXneUFpQu2T__S0Ac7Yg2MU9k9vDvKPgTDOdMgQB_E,7096 discord/context_managers.py,sha256=Yz9XznhY6A9KHstnDMoff53o9BMpqelTZpcHgn-NO90,2281 discord/embeds.py,sha256=oapLi-t8nvoeRjZ250NhniNtjF0Vm-uAwkNoNnU0y8A,16255 @@ -86,7 +86,7 @@ discord/ext/commands/bot.py,sha256=MdRZXEfLKv0rjhsBKcwuXVXtvkWdmJpgxFSfzOfPY44,3 discord/ext/commands/cog.py,sha256=QTUXH5JxW4-enkm5lRSzsWTFVT1PM0NzFIja7wLB4QI,14845 discord/ext/commands/context.py,sha256=DEOU6d6j3Wx7abmMkSySo-HaLMSafRZMO7US48jff-0,11239 discord/ext/commands/converter.py,sha256=rLfSk6_Aye3iyHyLfQBY26sFH7YrprxCsxaXAtYvCoc,19071 -discord/ext/commands/cooldowns.py,sha256=5Z6dgVbAtqXysojZ6iChh_p8Mbk4b_16h9J9T8-COXc,9273 +discord/ext/commands/cooldowns.py,sha256=5b504ha5pWJlNqtOFEpXMf0gcmLrUt11ook_r9x5hlA,8990 discord/ext/commands/core.py,sha256=NQgap_dh-F0BdhLw2Dt4nERN3Vx8vVmppFB4qHzoCuc,64401 discord/ext/commands/errors.py,sha256=24XwciLXY3yZN2KeyklqZKL9Ci5ufKhCgw_wM7BMrIo,18885 discord/ext/commands/help.py,sha256=X0ViQRWiUksNEZtBRGVD136xm3qZr2oHb-G6oQ2EPRM,46096 @@ -96,7 +96,7 @@ discord/ext/tasks/__pycache__/__init__.cpython-36.pyc,, discord/file.py,sha256=QsJch3-5eahnGovIr33wRscWFOkZe0QJf7yTetFPJS0,3842 discord/flags.py,sha256=LUKRinjg6MC2I9ZrjBuEQW4m60PYZIDp1H_q5OBA4b0,7163 discord/gateway.py,sha256=1z21UdL01N8C-602Me64cmqOJlrCuGhhEijhu70bDww,25584 -discord/guild.py,sha256=qKch-s8It-5YejRTIKh8n0J47BGbHoDiMmkgxkM373I,66477 +discord/guild.py,sha256=SdaAHj8YRPqhHUU8oKnFg_14ZREWUfc7C4l96KPZiTc,64610 discord/http.py,sha256=_WG7d3Rlo3F4sYczaaiCA-dVEFI7rZ5tMDf3tnnT4G8,33996 discord/invite.py,sha256=5jzdYVVkrqEFNlO5Oy5oYxQZx5_8wsrbeTR1gJoRDg8,13710 discord/iterators.py,sha256=e6P2wlHfT_Pa2onDdC4d2PYGtBHKQ8V7MzBCXTta9to,22260 @@ -113,7 +113,7 @@ discord/raw_models.py,sha256=QNJtg_1zv32hokTKzfhIVcbJhW_D9MDpWzkVjQj6nYY,7192 discord/reaction.py,sha256=OxGDN9RYq5f3Bc2SgsSxAgpWqtxpcSJ-SSctLsVeNWY,6395 discord/relationship.py,sha256=oQSHFWcAKyYQ2jzIkQrKLvGddJ-sBCkYBbJsOkMblcg,2431 discord/role.py,sha256=YBxFWIAJLRRp-5zq7mI34J4n9HrP0spXLpl9nVN8RC8,9197 -discord/shard.py,sha256=CU6RFJcLxoO4nBatXhXw8zWLCRRmdo0LdT7GUdLDd9s,13580 +discord/shard.py,sha256=AoMC-fnKHhVe7_tRMKKm5xDuwqzH5-6C3eDLpxe2_zU,13222 discord/state.py,sha256=CWxiIhD_MWB8X6DD8848sgbma6lkfJHXsHtQ-HIwwac,42447 discord/team.py,sha256=XJ34MJv6xAQfkrSxwj3VcAconzfpsdiCmwueabCJC3k,4211 discord/user.py,sha256=DQE6ptoCH93i0NraHwiuvGKheE5uysVEwN7kGV7dbKQ,27854 diff --git a/venv/Lib/site-packages/discord.py-1.3.3.dist-info/WHEEL b/venv/Lib/site-packages/discord.py-1.3.4.dist-info/WHEEL similarity index 100% rename from venv/Lib/site-packages/discord.py-1.3.3.dist-info/WHEEL rename to venv/Lib/site-packages/discord.py-1.3.4.dist-info/WHEEL diff --git a/venv/Lib/site-packages/discord.py-1.3.3.dist-info/authors.sh b/venv/Lib/site-packages/discord.py-1.3.4.dist-info/authors.sh similarity index 100% rename from venv/Lib/site-packages/discord.py-1.3.3.dist-info/authors.sh rename to venv/Lib/site-packages/discord.py-1.3.4.dist-info/authors.sh diff --git a/venv/Lib/site-packages/discord.py-1.3.3.dist-info/top_level.txt b/venv/Lib/site-packages/discord.py-1.3.4.dist-info/top_level.txt similarity index 100% rename from venv/Lib/site-packages/discord.py-1.3.3.dist-info/top_level.txt rename to venv/Lib/site-packages/discord.py-1.3.4.dist-info/top_level.txt diff --git a/venv/Lib/site-packages/discord/__init__.py b/venv/Lib/site-packages/discord/__init__.py index 2cca80ae..aaf14940 100644 --- a/venv/Lib/site-packages/discord/__init__.py +++ b/venv/Lib/site-packages/discord/__init__.py @@ -15,7 +15,7 @@ __title__ = 'discord' __author__ = 'Rapptz' __license__ = 'MIT' __copyright__ = 'Copyright 2015-2020 Rapptz' -__version__ = '1.3.3' +__version__ = '1.3.4' from collections import namedtuple import logging @@ -56,7 +56,7 @@ from .team import * VersionInfo = namedtuple('VersionInfo', 'major minor micro releaselevel serial') -version_info = VersionInfo(major=1, minor=3, micro=3, releaselevel='final', serial=0) +version_info = VersionInfo(major=1, minor=3, micro=4, releaselevel='final', serial=0) try: from logging import NullHandler diff --git a/venv/Lib/site-packages/discord/abc.py b/venv/Lib/site-packages/discord/abc.py index 2a14c349..ef078031 100644 --- a/venv/Lib/site-packages/discord/abc.py +++ b/venv/Lib/site-packages/discord/abc.py @@ -27,7 +27,6 @@ DEALINGS IN THE SOFTWARE. import abc import copy import asyncio -from collections import namedtuple from .iterators import HistoryIterator from .context_managers import Typing @@ -162,7 +161,22 @@ class PrivateChannel(metaclass=abc.ABCMeta): return NotImplemented return NotImplemented -_Overwrites = namedtuple('_Overwrites', 'id allow deny type') +class _Overwrites: + __slots__ = ('id', 'allow', 'deny', 'type') + + def __init__(self, **kwargs): + self.id = kwargs.pop('id') + self.allow = kwargs.pop('allow', 0) + self.deny = kwargs.pop('deny', 0) + self.type = kwargs.pop('type') + + def _asdict(self): + return { + 'id': self.id, + 'allow': self.allow, + 'deny': self.deny, + 'type': self.type, + } class GuildChannel: """An ABC that details the common operations on a Discord guild channel.