serverChannel.permissionsOf() can take a role

This commit is contained in:
abalabahaha
2016-05-31 10:59:05 -07:00
parent e6054c6ace
commit f8bf945f9d
3 changed files with 41 additions and 17 deletions

View File

@@ -40,12 +40,12 @@ Server_ the channel belongs to.
Functions
---------
permissionsOf(user)
permissionsOf(userOrRole)
~~~~~~~~~~~~~~~~~~~
**Aliases:** permsOf
Returns a ChannelPermissions_ object of a user's permissions in that channel.
Returns a ChannelPermissions_ object of a user or role's permissions in that channel.
mention()
~~~~~~~~~