Package org.javacord.api.event.server
Interface ServerChangeAfkTimeoutEvent
-
- All Superinterfaces:
Event
,ServerEvent
public interface ServerChangeAfkTimeoutEvent extends ServerEvent
A server change afk timeout event.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getNewAfkTimeoutInSeconds()
Gets the new afk timeout of the server in seconds.int
getOldAfkTimeoutInSeconds()
Gets the old afk timeout of the server in seconds.-
Methods inherited from interface org.javacord.api.event.server.ServerEvent
getServer
-
-
-
-
Method Detail
-
getOldAfkTimeoutInSeconds
int getOldAfkTimeoutInSeconds()
Gets the old afk timeout of the server in seconds.- Returns:
- The old afk timeout of the server in seconds.
-
getNewAfkTimeoutInSeconds
int getNewAfkTimeoutInSeconds()
Gets the new afk timeout of the server in seconds.- Returns:
- The new afk timeout of the server in seconds.
-
-