aboutsummaryrefslogtreecommitdiff
path: root/discord/abc.py
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-01-29 20:51:47 -0500
committerRapptz <[email protected]>2017-01-29 20:53:17 -0500
commite77012f4d91dfdb45813fb9fe906a7f791ca4fcf (patch)
tree16b2cd2fcaaea5f09c6c12b3d95bd6f3aac4018d /discord/abc.py
parentRemove unused Message._handle_upgrades function. (diff)
downloaddiscord.py-e77012f4d91dfdb45813fb9fe906a7f791ca4fcf.tar.xz
discord.py-e77012f4d91dfdb45813fb9fe906a7f791ca4fcf.zip
Make all public is_ functions into methods instead of properties.
Diffstat (limited to 'discord/abc.py')
-rw-r--r--discord/abc.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/discord/abc.py b/discord/abc.py
index 4b2f6d18..92475164 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -185,7 +185,6 @@ class GuildChannel:
ret.append(role)
return ret
- @property
def is_default(self):
"""bool : Indicates if this is the default channel for the :class:`Guild` it belongs to."""
return self.guild.id == self.id
@@ -330,7 +329,7 @@ class GuildChannel:
break
# default channels can always be read
- if self.is_default:
+ if self.is_default():
base.read_messages = True
# if you can't send a message in a channel then you can't have certain