UpdateEvent<TextChannel,Category>
public class TextChannelUpdateParentEvent extends GenericTextChannelUpdateEvent<Category>
TextChannel
's parent changed.
Can be used to detect that the parent of a TextChannel changes.
Identifier: parent
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
IDENTIFIER |
Constructor | Description |
---|---|
TextChannelUpdateParentEvent(JDA api,
long responseNumber,
TextChannel channel,
Category oldParent) |
Modifier and Type | Method | Description |
---|---|---|
Category |
getNewParent() |
The new parent
Category |
Category |
getOldParent() |
The old parent
Category |
getJDA, getResponseNumber
getChannel, getGuild
getEntity, getNewValue, getOldValue, getPropertyIdentifier, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getEntityType
public static final java.lang.String IDENTIFIER
public TextChannelUpdateParentEvent(JDA api, long responseNumber, TextChannel channel, Category oldParent)