5.0.1 & docs

This commit is contained in:
hydrabolt
2015-11-21 15:51:07 +00:00
parent 477c0a3525
commit cbb69edf85
6 changed files with 47 additions and 3 deletions

View File

@@ -5,6 +5,14 @@ ChannelPermissions
ChannelPermissions is used to represent the final permissions of a user in a channel, to see exactly what they are and aren't allowed to do.
**Examples:**
.. code-block:: js
var user_permissions = channel.permissionsOf(user);
var can_mention_everyone = user_permissions.hasPermission("mentionEveryone");
--------
Functions