Method HandleGuildRoleCreated
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.dll
HandleGuildRoleCreated(Func<DiscordClient, GuildRoleCreatedEventArgs, Task>)
Fired when a guild role is created. For this event to fire you need the Guilds intent.
public EventHandlingBuilder HandleGuildRoleCreated(Func<DiscordClient, GuildRoleCreatedEventArgs, Task> handler)
Parameters
handler
Func<DiscordClient, GuildRoleCreatedEventArgs, Task>