mirror of
https://github.com/discordjs/discord.js.git
synced 2024-07-16 01:27:37 +12:00
docs(ApplicationCommandPermissionsManager): remove incorrect comment (#10123)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
parent
543d61737e
commit
e9d654772d
|
@ -356,7 +356,6 @@ class ApplicationCommandPermissionsManager extends BaseManager {
|
|||
* @param {HasApplicationCommandPermissionsOptions} options Options used to check permissions
|
||||
* @returns {Promise<boolean>}
|
||||
* @example
|
||||
* // Check whether a user has permission to use a command
|
||||
* guild.commands.permissions.has({ command: '123456789012345678', permissionId: '876543210123456789' })
|
||||
* .then(console.log)
|
||||
* .catch(console.error);
|
||||
|
|
Loading…
Reference in a new issue