public class RoleCreateEvent extends RoleEvent
This event is dispatched by Discord.
Constructor and Description |
---|
RoleCreateEvent(GatewayDiscordClient gateway,
ShardInfo shardInfo,
long guildId,
Role role) |
Modifier and Type | Method and Description |
---|---|
Mono<Guild> |
getGuild()
|
Snowflake |
getGuildId()
|
Role |
getRole()
Gets the
Role that was created in this event. |
String |
toString() |
getClient, getShardInfo