Package tv.phantombot.event.discord.role
Class DiscordRoleEvent
java.lang.Object
tv.phantombot.event.Event
tv.phantombot.event.discord.DiscordEvent
tv.phantombot.event.discord.role.DiscordRoleEvent
- Direct Known Subclasses:
DiscordRoleCreatedEvent,DiscordRoleDeletedEvent,DiscordRoleUpdatedEvent
- Author:
- ScaniaTV
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDiscordRoleEvent(discord4j.core.object.entity.Role role) Abstract constructor -
Method Summary
Modifier and TypeMethodDescriptiondiscord4j.core.object.entity.RoleMethod that returns the IRole object created.Method that returns the ID of the role created.Methods inherited from class tv.phantombot.event.discord.DiscordEvent
getChannel, getChannelId, getDiscordAudioChannel, getDiscordChannel, getDiscordMessage, getDiscordUser, getDiscriminator, getMention, getMessage, getSender, getSenderId, getUsername
-
Constructor Details
-
DiscordRoleEvent
protected DiscordRoleEvent(discord4j.core.object.entity.Role role) Abstract constructor- Parameters:
role-
-
-
Method Details
-
getRoleID
Method that returns the ID of the role created.- Returns:
-
getDiscordRole
public discord4j.core.object.entity.Role getDiscordRole()Method that returns the IRole object created.- Returns:
-