1
0
Fork 0
mirror of synced 2024-06-26 18:21:15 +12:00

Added perms attribute in the custom_perms predicate

This commit is contained in:
Phxntxm 2016-08-27 22:00:43 -05:00
parent 5242dc613f
commit e101ba3120

View file

@ -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)