Skip to content

Commit fe60b88

Browse files
committed
add clarification that GUILD_BAN_ADD and GUILD_BAN_REMOVE will only get sent to bots with the BAN_MEMBERS permission
1 parent f7b5080 commit fe60b88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/events/gateway-events.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ Sent when a guild audit log entry is created. The inner payload is an [Audit Log
684684

685685
#### Guild Ban Add
686686

687-
Sent when a user is banned from a guild.
687+
Sent when a user is banned from a guild. This event is only sent to bots with the `BAN_MEMBERS` permission.
688688

689689
###### Guild Ban Add Event Fields
690690

@@ -695,7 +695,7 @@ Sent when a user is banned from a guild.
695695

696696
#### Guild Ban Remove
697697

698-
Sent when a user is unbanned from a guild.
698+
Sent when a user is unbanned from a guild. This event is only sent to bots with the `BAN_MEMBERS` permission.
699699

700700
###### Guild Ban Remove Event Fields
701701

0 commit comments

Comments
 (0)