Browse Source

Merge a8ded7fe54 into 7a2e86a2a3

pull/186/merge
TZer0 4 years ago
committed by GitHub
parent
commit
3c4ad781e4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      disco/types/permissions.py

2
disco/types/permissions.py

@ -118,7 +118,7 @@ class Permissible(object):
__slots__ = []
def get_permissions(self):
raise NotImplementedError
raise NotImplementedError("Permissions can only be checked in Guild or Channel")
def can(self, user, *args):
perms = self.get_permissions(user)

Loading…
Cancel
Save