public class ConnectionRequest
extends java.lang.Object
Constructor | Description |
---|---|
ConnectionRequest(Guild guild) |
|
ConnectionRequest(VoiceChannel channel,
ConnectionStage stage) |
Modifier and Type | Method | Description |
---|---|---|
VoiceChannel |
getChannel(JDA api) |
|
long |
getChannelId() |
|
long |
getGuildIdLong() |
|
long |
getNextAttemptEpoch() |
|
ConnectionStage |
getStage() |
|
void |
setChannel(VoiceChannel channel) |
|
void |
setNextAttemptEpoch(long epochMillis) |
|
void |
setStage(ConnectionStage stage) |
public ConnectionRequest(Guild guild)
public ConnectionRequest(VoiceChannel channel, ConnectionStage stage)
public void setStage(ConnectionStage stage)
public void setChannel(VoiceChannel channel)
public void setNextAttemptEpoch(long epochMillis)
public VoiceChannel getChannel(JDA api)
public long getChannelId()
public ConnectionStage getStage()
public long getNextAttemptEpoch()
public long getGuildIdLong()