docs(Invite): MANAGE_CHANNELS instead of MANAGE_CHANNEL (#6361)

This commit is contained in:
Casper
2021-08-09 18:30:30 +02:00
committed by GitHub
parent ea8d77ea62
commit 0062aa6f72
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ class InviteCreateAction extends Action {
/**
* Emitted when an invite is created.
* <info> This event only triggers if the client has `MANAGE_GUILD` permissions for the guild,
* or `MANAGE_CHANNEL` permissions for the channel.</info>
* or `MANAGE_CHANNELS` permissions for the channel.</info>
* @event Client#inviteCreate
* @param {Invite} invite The invite that was created
*/

View File

@@ -18,7 +18,7 @@ class InviteDeleteAction extends Action {
/**
* Emitted when an invite is deleted.
* <info> This event only triggers if the client has `MANAGE_GUILD` permissions for the guild,
* or `MANAGE_CHANNEL` permissions for the channel.</info>
* or `MANAGE_CHANNELS` permissions for the channel.</info>
* @event Client#inviteDelete
* @param {Invite} invite The invite that was deleted
*/