public class GuildUpdateSystemChannelEvent extends GenericGuildUpdateEvent
system channel
of a Guild
has been changed.previous system channel
after a change.Constructor and Description |
---|
GuildUpdateSystemChannelEvent(JDA api,
long responseNumber,
Guild guild,
TextChannel oldSystemChannel) |
Modifier and Type | Method and Description |
---|---|
TextChannel |
getOldSystemChannel()
Returns the previous system channel.
|
getGuild
getJDA, getResponseNumber
public GuildUpdateSystemChannelEvent(JDA api, long responseNumber, Guild guild, TextChannel oldSystemChannel)
public TextChannel getOldSystemChannel()