Table of Contents

Method HandleGuildMemberRemoved

Namespace
DSharpPlus
Assembly
DSharpPlus.dll

HandleGuildMemberRemoved(Func<DiscordClient, GuildMemberRemovedEventArgs, Task>)

Fired when a user is removed from a guild, by leaving, a kick or a ban. For this event to fire you need the GuildMembers intent.

public EventHandlingBuilder HandleGuildMemberRemoved(Func<DiscordClient, GuildMemberRemovedEventArgs, Task> handler)

Parameters

handler Func<DiscordClient, GuildMemberRemovedEventArgs, Task>

Returns

EventHandlingBuilder