docs(Client): Correct invite gateway permission checks (#9597)

docs: correct invite gateway permission checks
This commit is contained in:
Jiralite
2023-05-26 09:18:48 +01:00
committed by GitHub
parent 53aa24d418
commit e1b6eeed0e
2 changed files with 2 additions and 4 deletions

View File

@@ -15,8 +15,7 @@ class InviteCreateAction extends Action {
/**
* Emitted when an invite is created.
* <info>This event requires either the {@link PermissionFlagsBits.ManageGuild} permission or the
* {@link PermissionFlagsBits.ManageChannels} permission for the channel.</info>
* <info>This event requires the {@link PermissionFlagsBits.ManageChannels} permission for the channel.</info>
* @event Client#inviteCreate
* @param {Invite} invite The invite that was created
*/

View File

@@ -17,8 +17,7 @@ class InviteDeleteAction extends Action {
/**
* Emitted when an invite is deleted.
* <info>This event requires either the {@link PermissionFlagsBits.ManageGuild} permission or the
* {@link PermissionFlagsBits.ManageChannels} permission for the channel.</info>
* <info>This event requires the {@link PermissionFlagsBits.ManageChannels} permission for the channel.</info>
* @event Client#inviteDelete
* @param {Invite} invite The invite that was deleted
*/