mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(Client): Correct invite gateway permission checks (#9597)
docs: correct invite gateway permission checks
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user