mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
serverChannel.permissionsOf() can take a role
This commit is contained in:
@@ -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()
|
||||
~~~~~~~~~
|
||||
|
||||
Reference in New Issue
Block a user