Table of Contents

Method HandleGuildBanAdded

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleGuildBanAdded(Func<DiscordClient, GuildBanAddedEventArgs, Task>)

Fired when a guild ban gets added. For this event to fire you need the GuildModeration intent.

public EventHandlingBuilder HandleGuildBanAdded(Func<DiscordClient, GuildBanAddedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, GuildBanAddedEventArgs, Task>

Returns

EventHandlingBuilder