diff --git a/LICENSE b/LICENSE index 4003396c..eb8cdf65 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/__init__.py b/discord/__init__.py index 51b257f6..f2769137 100644 --- a/discord/__init__.py +++ b/discord/__init__.py @@ -6,7 +6,7 @@ Discord API Wrapper A basic wrapper for the Discord API. -:copyright: (c) 2015-2019 Rapptz +:copyright: (c) 2015-2020 Rapptz :license: MIT, see LICENSE for more details. """ @@ -14,7 +14,7 @@ A basic wrapper for the Discord API. __title__ = 'discord' __author__ = 'Rapptz' __license__ = 'MIT' -__copyright__ = 'Copyright 2015-2019 Rapptz' +__copyright__ = 'Copyright 2015-2020 Rapptz' __version__ = '1.3.0a' from collections import namedtuple diff --git a/discord/__main__.py b/discord/__main__.py index 3831938e..102ca30c 100644 --- a/discord/__main__.py +++ b/discord/__main__.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/abc.py b/discord/abc.py index 983c323f..db2b634d 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/activity.py b/discord/activity.py index 5b2861bb..5a2c9047 100644 --- a/discord/activity.py +++ b/discord/activity.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/appinfo.py b/discord/appinfo.py index ddf5ae05..4b3c9e94 100644 --- a/discord/appinfo.py +++ b/discord/appinfo.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/asset.py b/discord/asset.py index 631d8cf7..23834b0c 100644 --- a/discord/asset.py +++ b/discord/asset.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/audit_logs.py b/discord/audit_logs.py index 4c950eb9..c316f146 100644 --- a/discord/audit_logs.py +++ b/discord/audit_logs.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/backoff.py b/discord/backoff.py index 3ebc019e..b602ec64 100644 --- a/discord/backoff.py +++ b/discord/backoff.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/calls.py b/discord/calls.py index 8ab04145..a1b6ab09 100644 --- a/discord/calls.py +++ b/discord/calls.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/channel.py b/discord/channel.py index 385f91c2..d618c451 100644 --- a/discord/channel.py +++ b/discord/channel.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), @@ -775,7 +775,7 @@ class CategoryChannel(discord.abc.GuildChannel, Hashable): overwrites: :class:`dict` A :class:`dict` of target (either a role or a member) to :class:`PermissionOverwrite` to apply to the channel. - + .. versionadded:: 1.3.0 Raises diff --git a/discord/client.py b/discord/client.py index 78cbe2af..6abcc275 100644 --- a/discord/client.py +++ b/discord/client.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/colour.py b/discord/colour.py index 1dc9662e..48d4538f 100644 --- a/discord/colour.py +++ b/discord/colour.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/context_managers.py b/discord/context_managers.py index e7ac501c..279b224d 100644 --- a/discord/context_managers.py +++ b/discord/context_managers.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/embeds.py b/discord/embeds.py index e8b83985..316299ef 100644 --- a/discord/embeds.py +++ b/discord/embeds.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), @@ -421,15 +421,15 @@ class Embed: self._fields = [field] return self - + def insert_field_at(self, index, *, name, value, inline=True): """Inserts a field before a specified index to the embed. - + This function returns the class instance to allow for fluent-style chaining. - + .. versionadded:: 1.2.0 - + Parameters ----------- index: :class:`int` diff --git a/discord/emoji.py b/discord/emoji.py index 00f40447..fcd8adcb 100644 --- a/discord/emoji.py +++ b/discord/emoji.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/enums.py b/discord/enums.py index b4886f28..645efefa 100644 --- a/discord/enums.py +++ b/discord/enums.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/errors.py b/discord/errors.py index fd967a9c..7ab73e9d 100644 --- a/discord/errors.py +++ b/discord/errors.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/ext/commands/__init__.py b/discord/ext/commands/__init__.py index b14fd655..669a49a9 100644 --- a/discord/ext/commands/__init__.py +++ b/discord/ext/commands/__init__.py @@ -6,7 +6,7 @@ discord.ext.commands An extension module to facilitate creation of bot commands. -:copyright: (c) 2019 Rapptz +:copyright: (c) 2015-2020 Rapptz :license: MIT, see LICENSE for more details. """ diff --git a/discord/ext/commands/_types.py b/discord/ext/commands/_types.py index bd254478..664f7519 100644 --- a/discord/ext/commands/_types.py +++ b/discord/ext/commands/_types.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py index 0e83c3f7..42cdd929 100644 --- a/discord/ext/commands/bot.py +++ b/discord/ext/commands/bot.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/ext/commands/cog.py b/discord/ext/commands/cog.py index 9f3c745c..fc4d43e2 100644 --- a/discord/ext/commands/cog.py +++ b/discord/ext/commands/cog.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/ext/commands/context.py b/discord/ext/commands/context.py index 5e3cbace..5635cb42 100644 --- a/discord/ext/commands/context.py +++ b/discord/ext/commands/context.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py index ea202b65..12d72bb5 100644 --- a/discord/ext/commands/converter.py +++ b/discord/ext/commands/converter.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/ext/commands/cooldowns.py b/discord/ext/commands/cooldowns.py index 57577a07..5e7f2aa3 100644 --- a/discord/ext/commands/cooldowns.py +++ b/discord/ext/commands/cooldowns.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 9d66cf9a..aa4343f5 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/ext/commands/errors.py b/discord/ext/commands/errors.py index 71a0098a..6087c1df 100644 --- a/discord/ext/commands/errors.py +++ b/discord/ext/commands/errors.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/ext/commands/help.py b/discord/ext/commands/help.py index ad8bd4e2..72992de9 100644 --- a/discord/ext/commands/help.py +++ b/discord/ext/commands/help.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/ext/commands/view.py b/discord/ext/commands/view.py index 91cc06b2..36c89037 100644 --- a/discord/ext/commands/view.py +++ b/discord/ext/commands/view.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/file.py b/discord/file.py index 8ba3a525..3bf44047 100644 --- a/discord/file.py +++ b/discord/file.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/flags.py b/discord/flags.py index 864ed915..f37262d6 100644 --- a/discord/flags.py +++ b/discord/flags.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/gateway.py b/discord/gateway.py index 48ac071c..a8593d69 100644 --- a/discord/gateway.py +++ b/discord/gateway.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/guild.py b/discord/guild.py index 0bcfb026..e4879c7f 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/http.py b/discord/http.py index 3789b3c8..6a7b757e 100644 --- a/discord/http.py +++ b/discord/http.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/invite.py b/discord/invite.py index a70d39e4..6e65cf23 100644 --- a/discord/invite.py +++ b/discord/invite.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/iterators.py b/discord/iterators.py index b555daa5..032174ae 100644 --- a/discord/iterators.py +++ b/discord/iterators.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/member.py b/discord/member.py index 42976a91..b2540bae 100644 --- a/discord/member.py +++ b/discord/member.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/message.py b/discord/message.py index dfd863a4..1d9886cb 100644 --- a/discord/message.py +++ b/discord/message.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/mixins.py b/discord/mixins.py index 3717cf46..e115e844 100644 --- a/discord/mixins.py +++ b/discord/mixins.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/object.py b/discord/object.py index 34a3d3df..753e9069 100644 --- a/discord/object.py +++ b/discord/object.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/oggparse.py b/discord/oggparse.py index 15db4595..5dd34345 100644 --- a/discord/oggparse.py +++ b/discord/oggparse.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/opus.py b/discord/opus.py index f958cb3e..ee839464 100644 --- a/discord/opus.py +++ b/discord/opus.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/partial_emoji.py b/discord/partial_emoji.py index 9a748b32..6819d649 100644 --- a/discord/partial_emoji.py +++ b/discord/partial_emoji.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/permissions.py b/discord/permissions.py index a60bbc82..4123632c 100644 --- a/discord/permissions.py +++ b/discord/permissions.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/player.py b/discord/player.py index 0b4c850d..7a573418 100644 --- a/discord/player.py +++ b/discord/player.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/raw_models.py b/discord/raw_models.py index dc094e34..c5db50f4 100644 --- a/discord/raw_models.py +++ b/discord/raw_models.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/reaction.py b/discord/reaction.py index 79c8efe2..1d30b483 100644 --- a/discord/reaction.py +++ b/discord/reaction.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/relationship.py b/discord/relationship.py index a1bd2c14..cd58e4b0 100644 --- a/discord/relationship.py +++ b/discord/relationship.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/role.py b/discord/role.py index 647afb55..8d98d33a 100644 --- a/discord/role.py +++ b/discord/role.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/shard.py b/discord/shard.py index bcfe0cf6..237e50e5 100644 --- a/discord/shard.py +++ b/discord/shard.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/state.py b/discord/state.py index a3a8e243..738495a2 100644 --- a/discord/state.py +++ b/discord/state.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/team.py b/discord/team.py index 7cf1f9e2..3472820a 100644 --- a/discord/team.py +++ b/discord/team.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/user.py b/discord/user.py index 745bb439..a172d5f9 100644 --- a/discord/user.py +++ b/discord/user.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2017 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/utils.py b/discord/utils.py index aa88d0a5..83fdda2a 100644 --- a/discord/utils.py +++ b/discord/utils.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), diff --git a/discord/voice_client.py b/discord/voice_client.py index 801c9900..091fe261 100644 --- a/discord/voice_client.py +++ b/discord/voice_client.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), @@ -359,7 +359,7 @@ class VoiceClient: The audio source we're reading from. after: Callable[[:class:`Exception`], Any] The finalizer that is called after the stream is exhausted. - This function must have a single parameter, ``error``, that + This function must have a single parameter, ``error``, that denotes an optional exception that was raised during playing. Raises diff --git a/discord/webhook.py b/discord/webhook.py index 513138a5..ae2e65a9 100644 --- a/discord/webhook.py +++ b/discord/webhook.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), @@ -420,7 +420,7 @@ class Webhook: The default avatar of the webhook. """ - __slots__ = ('id', 'type', 'guild_id', 'channel_id', 'user', 'name', + __slots__ = ('id', 'type', 'guild_id', 'channel_id', 'user', 'name', 'avatar', 'token', '_state', '_adapter') def __init__(self, data, *, adapter, state=None): diff --git a/discord/widget.py b/discord/widget.py index 50888605..662afca9 100644 --- a/discord/widget.py +++ b/discord/widget.py @@ -3,7 +3,7 @@ """ The MIT License (MIT) -Copyright (c) 2015-2019 Rapptz +Copyright (c) 2015-2020 Rapptz Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),