aboutsummaryrefslogtreecommitdiff
path: root/discord/channel.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2016-01-11 14:44:13 -0500
committerRapptz <[email protected]>2016-01-11 14:44:13 -0500
commit8974dffc4e22ed72fa229d385b2ae2a7d2943440 (patch)
treef47fbd37891ad77a125b0bb6e6f9838e0cbcddc4 /discord/channel.py
parent[commands] Add Command.cog_name to get the cog name it belongs to. (diff)
downloaddiscord.py-8974dffc4e22ed72fa229d385b2ae2a7d2943440.tar.xz
discord.py-8974dffc4e22ed72fa229d385b2ae2a7d2943440.zip
Change internal update functions to have a leading underscore.
Diffstat (limited to 'discord/channel.py')
-rw-r--r--discord/channel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/discord/channel.py b/discord/channel.py
index cb6425ec..4e7da47b 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -75,13 +75,13 @@ class Channel(Hashable):
"""
def __init__(self, **kwargs):
- self.update(**kwargs)
+ self._update(**kwargs)
self.voice_members = []
def __str__(self):
return self.name
- def update(self, **kwargs):
+ def _update(self, **kwargs):
self.name = kwargs.get('name')
self.server = kwargs.get('server')
self.id = kwargs.get('id')