public class GuildManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GuildManager.Timeout
Represents the idle time allowed until a user is moved to the
AFK
VoiceChannel if one is set. |
Modifier and Type | Field and Description |
---|---|
protected GuildManagerUpdatable |
updatable |
Constructor and Description |
---|
GuildManager(Guild guild) |
Modifier and Type | Method and Description |
---|---|
Guild |
getGuild()
Returns the
Guild object of this Manager. |
RestAction<java.lang.Void> |
setAfkChannel(VoiceChannel afkChannel) |
RestAction<java.lang.Void> |
setAfkTimeout(GuildManager.Timeout timeout) |
RestAction<java.lang.Void> |
setDefaultNotificationLeveL(Guild.NotificationLevel level) |
RestAction<java.lang.Void> |
setName(java.lang.String name) |
RestAction<java.lang.Void> |
setRegion(Region region) |
RestAction<java.lang.Void> |
setRequiredMFALevel(Guild.MFALevel level) |
RestAction<java.lang.Void> |
setVerificationLevel(Guild.VerificationLevel level) |
protected final GuildManagerUpdatable updatable
public GuildManager(Guild guild)
public Guild getGuild()
Guild
object of this Manager. Useful if this Manager was returned via a create functionGuild
of this Managerpublic RestAction<java.lang.Void> setName(java.lang.String name)
public RestAction<java.lang.Void> setRegion(Region region)
public RestAction<java.lang.Void> setAfkChannel(VoiceChannel afkChannel)
public RestAction<java.lang.Void> setAfkTimeout(GuildManager.Timeout timeout)
public RestAction<java.lang.Void> setVerificationLevel(Guild.VerificationLevel level)
public RestAction<java.lang.Void> setDefaultNotificationLeveL(Guild.NotificationLevel level)
public RestAction<java.lang.Void> setRequiredMFALevel(Guild.MFALevel level)