public class ShutdownEvent extends Event
Modifier and Type | Field and Description |
---|---|
protected java.util.List<VoiceChannel> |
dcAudioConnections |
protected java.time.OffsetDateTime |
shutdownTime |
Constructor and Description |
---|
ShutdownEvent(JDA api,
java.time.OffsetDateTime shutdownTime,
java.util.List<VoiceChannel> dcAudioConnections) |
Modifier and Type | Method and Description |
---|---|
java.util.List<VoiceChannel> |
getDisconnectedAudioConnections() |
java.time.OffsetDateTime |
getShutdownTime() |
getJDA, getResponseNumber
protected final java.time.OffsetDateTime shutdownTime
protected final java.util.List<VoiceChannel> dcAudioConnections
public ShutdownEvent(JDA api, java.time.OffsetDateTime shutdownTime, java.util.List<VoiceChannel> dcAudioConnections)
public java.time.OffsetDateTime getShutdownTime()
public java.util.List<VoiceChannel> getDisconnectedAudioConnections()