aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-01-20 23:19:19 -0500
committerRapptz <[email protected]>2017-01-20 23:19:19 -0500
commitff9f5749e13bef6337f1d844019d051125796505 (patch)
tree0fa5fae2d7acd83a2a3fb6bbeb9e2f35228862c7
parentAdd support for relationships. (diff)
downloaddiscord.py-ff9f5749e13bef6337f1d844019d051125796505.tar.xz
discord.py-ff9f5749e13bef6337f1d844019d051125796505.zip
Update copyright year to 2017.
-rw-r--r--LICENSE2
-rw-r--r--discord/__init__.py4
-rw-r--r--discord/abc.py2
-rw-r--r--discord/calls.py2
-rw-r--r--discord/channel.py2
-rw-r--r--discord/client.py2
-rw-r--r--discord/colour.py2
-rw-r--r--discord/compat.py2
-rw-r--r--discord/context_managers.py2
-rw-r--r--discord/embeds.py2
-rw-r--r--discord/emoji.py2
-rw-r--r--discord/enums.py2
-rw-r--r--discord/errors.py2
-rw-r--r--discord/ext/__init__.py2
-rw-r--r--discord/ext/commands/__init__.py2
-rw-r--r--discord/ext/commands/bot.py2
-rw-r--r--discord/ext/commands/context.py2
-rw-r--r--discord/ext/commands/converter.py2
-rw-r--r--discord/ext/commands/cooldowns.py2
-rw-r--r--discord/ext/commands/core.py2
-rw-r--r--discord/ext/commands/errors.py2
-rw-r--r--discord/ext/commands/formatter.py2
-rw-r--r--discord/ext/commands/view.py2
-rw-r--r--discord/game.py2
-rw-r--r--discord/gateway.py2
-rw-r--r--discord/guild.py2
-rw-r--r--discord/http.py2
-rw-r--r--discord/invite.py2
-rw-r--r--discord/iterators.py2
-rw-r--r--discord/member.py2
-rw-r--r--discord/message.py2
-rw-r--r--discord/mixins.py2
-rw-r--r--discord/object.py2
-rw-r--r--discord/opus.py10
-rw-r--r--discord/permissions.py2
-rw-r--r--discord/reaction.py2
-rw-r--r--discord/relationship.py2
-rw-r--r--discord/role.py2
-rw-r--r--discord/shard.py2
-rw-r--r--discord/state.py2
-rw-r--r--discord/user.py2
-rw-r--r--discord/utils.py2
-rw-r--r--discord/voice_client.py2
-rw-r--r--docs/conf.py2
44 files changed, 49 insertions, 49 deletions
diff --git a/LICENSE b/LICENSE
index 1d9a5d0b..f7befeaf 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 9624f2e9..7ecad72c 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-2016 Rapptz
+:copyright: (c) 2015-2017 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-2016 Rapptz'
+__copyright__ = 'Copyright 2015-2017 Rapptz'
__version__ = '1.0.0a0'
from .client import Client, AppInfo, ChannelPermissions
diff --git a/discord/abc.py b/discord/abc.py
index e8ca3db4..4b2f6d18 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 5b181d75..c8670b3b 100644
--- a/discord/calls.py
+++ b/discord/calls.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 6f4c5659..8699c25e 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -2,7 +2,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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/client.py b/discord/client.py
index 725c0e77..4962d1e4 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 db75ad8a..b8ee5dae 100644
--- a/discord/colour.py
+++ b/discord/colour.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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/compat.py b/discord/compat.py
index 2cb2ec98..43294254 100644
--- a/discord/compat.py
+++ b/discord/compat.py
@@ -2,7 +2,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 83398f13..a5f891b3 100644
--- a/discord/context_managers.py
+++ b/discord/context_managers.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 c9ff36ed..9d3d604e 100644
--- a/discord/embeds.py
+++ b/discord/embeds.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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/emoji.py b/discord/emoji.py
index f07b61a7..ff839c4d 100644
--- a/discord/emoji.py
+++ b/discord/emoji.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 f0acff11..366aca58 100644
--- a/discord/enums.py
+++ b/discord/enums.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 795c0bf6..a31ccd5e 100644
--- a/discord/errors.py
+++ b/discord/errors.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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/__init__.py b/discord/ext/__init__.py
index af6a0088..73194d95 100644
--- a/discord/ext/__init__.py
+++ b/discord/ext/__init__.py
@@ -6,7 +6,7 @@ discord.py extensions
Extensions for the discord.py library live in this namespace.
-:copyright: (c) 2016 Rapptz
+:copyright: (c) 2017 Rapptz
:license: MIT, see LICENSE for more details.
"""
diff --git a/discord/ext/commands/__init__.py b/discord/ext/commands/__init__.py
index 084d0487..b102885c 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) 2016 Rapptz
+:copyright: (c) 2017 Rapptz
:license: MIT, see LICENSE for more details.
"""
diff --git a/discord/ext/commands/bot.py b/discord/ext/commands/bot.py
index 56c9c153..17772cc5 100644
--- a/discord/ext/commands/bot.py
+++ b/discord/ext/commands/bot.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 1ac4ddff..f28b9ffa 100644
--- a/discord/ext/commands/context.py
+++ b/discord/ext/commands/context.py
@@ -2,7 +2,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 4284fa59..90fee6da 100644
--- a/discord/ext/commands/converter.py
+++ b/discord/ext/commands/converter.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 52a5be30..ebcdd69e 100644
--- a/discord/ext/commands/cooldowns.py
+++ b/discord/ext/commands/cooldowns.py
@@ -2,7 +2,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 c3e2b413..faa89af9 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 b42b87e9..5aa6d164 100644
--- a/discord/ext/commands/errors.py
+++ b/discord/ext/commands/errors.py
@@ -2,7 +2,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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/formatter.py b/discord/ext/commands/formatter.py
index 0b12df51..fb883d33 100644
--- a/discord/ext/commands/formatter.py
+++ b/discord/ext/commands/formatter.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 c1a19ba0..acde0b75 100644
--- a/discord/ext/commands/view.py
+++ b/discord/ext/commands/view.py
@@ -2,7 +2,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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/game.py b/discord/game.py
index aefc6efc..2cb3587a 100644
--- a/discord/game.py
+++ b/discord/game.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 3d922660..e88021c9 100644
--- a/discord/gateway.py
+++ b/discord/gateway.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 509d9066..68c7a697 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 db6b2969..c1cbd4f2 100644
--- a/discord/http.py
+++ b/discord/http.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 e6c8e295..31f3fd6f 100644
--- a/discord/invite.py
+++ b/discord/invite.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 b8a13d01..5aa78089 100644
--- a/discord/iterators.py
+++ b/discord/iterators.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 4c3cf4ab..3c04ebee 100644
--- a/discord/member.py
+++ b/discord/member.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 151744f8..acf4da2c 100644
--- a/discord/message.py
+++ b/discord/message.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 a0cf0480..8dd1cef5 100644
--- a/discord/mixins.py
+++ b/discord/mixins.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 ad201d04..1044abad 100644
--- a/discord/object.py
+++ b/discord/object.py
@@ -2,7 +2,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 5869599f..911501c1 100644
--- a/discord/opus.py
+++ b/discord/opus.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 Rapptz
Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
@@ -238,7 +238,7 @@ class Encoder:
if ret < 0:
log.info('error has happened in set_bandwidth')
raise OpusError(ret)
-
+
def set_signal_type(self, req):
if req not in signal_ctl:
raise KeyError('%r is not a valid signal setting. Try one of: %s' % (req, ','.join(signal_ctl)))
@@ -252,14 +252,14 @@ class Encoder:
def set_fec(self, enabled=True):
ret = _lib.opus_encoder_ctl(self._state, CTL_SET_FEC, 1 if enabled else 0)
-
+
if ret < 0:
log.info('error has happened in set_fec')
raise OpusError(ret)
-
+
def set_expected_packet_loss_percent(self, percentage):
ret = _lib.opus_encoder_ctl(self._state, CTL_SET_PLP, min(100, max(0, int(percentage * 100))))
-
+
if ret < 0:
log.info('error has happened in set_expected_packet_loss_percent')
raise OpusError(ret)
diff --git a/discord/permissions.py b/discord/permissions.py
index 2121243d..8970ce4c 100644
--- a/discord/permissions.py
+++ b/discord/permissions.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 4ec2fd75..b5533776 100644
--- a/discord/reaction.py
+++ b/discord/reaction.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 a9132aee..575627e9 100644
--- a/discord/relationship.py
+++ b/discord/relationship.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 dd39a02e..fd07dd78 100644
--- a/discord/role.py
+++ b/discord/role.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 e5a6111d..904fd32c 100644
--- a/discord/shard.py
+++ b/discord/shard.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 542d1848..5ccee4e0 100644
--- a/discord/state.py
+++ b/discord/state.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 f097ddab..789167be 100644
--- a/discord/user.py
+++ b/discord/user.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 0befa1cf..1db8e4e0 100644
--- a/discord/utils.py
+++ b/discord/utils.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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 168ff090..c126f297 100644
--- a/discord/voice_client.py
+++ b/discord/voice_client.py
@@ -3,7 +3,7 @@
"""
The MIT License (MIT)
-Copyright (c) 2015-2016 Rapptz
+Copyright (c) 2015-2017 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/docs/conf.py b/docs/conf.py
index 0d4a84d9..f46aadc9 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -67,7 +67,7 @@ master_doc = 'index'
# General information about the project.
project = u'discord.py'
-copyright = u'2015, Rapptz'
+copyright = u'2015-2017, Rapptz'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the