public class RoleDeleteEvent extends RoleEvent
The deleted role may not be present if roles are not stored.
Constructor and Description |
---|
RoleDeleteEvent(DiscordClient client,
long guildId,
long roleId,
Role role) |
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<Guild> |
getGuild() |
Snowflake |
getGuildId() |
Optional<Role> |
getRole() |
Snowflake |
getRoleId() |
String |
toString() |
public RoleDeleteEvent(DiscordClient client, long guildId, long roleId, @Nullable Role role)