mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-14 10:33:30 +01:00
Cleaning for RTD theme and a bit of reorganization
This commit is contained in:
@@ -5,13 +5,11 @@ 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.
|
||||
|
||||
-----------
|
||||
--------
|
||||
|
||||
Functions
|
||||
---------
|
||||
|
||||
------------
|
||||
|
||||
serialize()
|
||||
~~~~~~~~~~~
|
||||
|
||||
@@ -25,7 +23,7 @@ Returns an object containing permission names and values. E.g:
|
||||
createInstantInvite : true,
|
||||
kickMembers : false
|
||||
}
|
||||
|
||||
|
||||
For more on valid permission names, see `Permission Constants`_.
|
||||
|
||||
hasPermission(permission)
|
||||
|
||||
Reference in New Issue
Block a user