Added perms attribute in the custom_perms predicate
This commit is contained in:
parent
5242dc613f
commit
e101ba3120
|
@ -26,7 +26,7 @@ def custom_perms(**perms):
|
|||
except TypeError:
|
||||
required_perm = default_perms
|
||||
return member_perms >= required_perm
|
||||
|
||||
predicate.perms = perms
|
||||
return commands.check(predicate)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue