diff --git a/LICENSE b/LICENSE index 4003396c4..eb8cdf656 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 51b257f60..f27691376 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 3831938e5..102ca30c4 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 983c323f2..db2b634d3 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 5b2861bb3..5a2c9047f 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 ddf5ae05c..4b3c9e941 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 631d8cf7a..23834b0c4 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 4c950eb96..c316f1468 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 3ebc019e7..b602ec646 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 8ab04145f..a1b6ab09e 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 385f91c24..d618c4510 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 78cbe2afa..6abcc2759 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 1dc9662ea..48d4538f5 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 e7ac501c6..279b224d9 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 e8b83985d..316299efc 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 00f40447c..fcd8adcb4 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 b4886f287..645efefa1 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 fd967a9ce..7ab73e9d4 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 b14fd6559..669a49a90 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 bd2544783..664f7519e 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 0e83c3f7b..42cdd929e 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 9f3c745ce..fc4d43e21 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 5e3cbace2..5635cb42e 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 ea202b656..12d72bb56 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 57577a07c..5e7f2aa39 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 9d66cf9a0..aa4343f5c 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 71a0098a4..6087c1dfd 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 ad8bd4e2c..72992de9e 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 91cc06b2b..36c890370 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 8ba3a5253..3bf440470 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 864ed915c..f37262d68 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 48ac071c2..a8593d697 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 0bcfb0268..e4879c7fe 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 3789b3c86..6a7b757ee 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 a70d39e4d..6e65cf23a 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 b555daa5c..032174aec 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 42976a913..b2540baec 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 dfd863a47..1d9886cb1 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 3717cf463..e115e8443 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 34a3d3df9..753e90696 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 15db45951..5dd34345e 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 f958cb3e9..ee8394649 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 9a748b32d..6819d649c 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 a60bbc82b..4123632c4 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 0b4c850da..7a5734187 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 dc094e342..c5db50f46 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 79c8efe22..1d30b483d 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 a1bd2c14e..cd58e4b01 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 647afb55f..8d98d33a6 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 bcfe0cf6f..237e50e54 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 a3a8e2432..738495a2c 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 7cf1f9e28..3472820a8 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 745bb439e..a172d5f9d 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 aa88d0a5d..83fdda2aa 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 801c99009..091fe2616 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 513138a59..ae2e65a98 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 508886054..662afca94 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"),