Interface IGuildBanAddGatewayHandler
Sent when a user is banned from a guild. This event is only sent to bots with the BanUsers or ViewAuditLog permission.
public interface IGuildBanAddGatewayHandler : IGatewayHandler
Remarks
Required Intents: GuildModeration
Optional Intents: None
Methods
HandleAsync(GuildBanEventArgs)
Handles the gateway event.
ValueTask HandleAsync(GuildBanEventArgs arg)
Parameters
argGuildBanEventArgsThe event argument.