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