mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +01:00
A few docs updates
This commit is contained in:
@@ -10,7 +10,7 @@ ChannelPermissions is used to represent the final permissions of a user in a cha
|
||||
.. code-block:: js
|
||||
|
||||
var user_permissions = channel.permissionsOf(user);
|
||||
|
||||
|
||||
var can_mention_everyone = user_permissions.hasPermission("mentionEveryone");
|
||||
|
||||
--------
|
||||
|
||||
Reference in New Issue
Block a user