Browse Source

Fix PrivateChannel.permissions_for not having self parameter.

pull/95/head
Rapptz 9 years ago
parent
commit
2d413756b0
  1. 2
      discord/channel.py

2
discord/channel.py

@ -235,7 +235,7 @@ class PrivateChannel(Hashable):
def __str__(self):
return 'Direct Message with {0.name}'.format(self.user)
def permissions_for(user):
def permissions_for(self, user):
"""Handles permission resolution for a :class:`User`.
This function is there for compatibility with :class:`Channel`.

Loading…
Cancel
Save