public class GuildManager
extends java.lang.Object
GuildManagerUpdatable instance.
This decoration allows to modify a single field by automatically building an update RestAction
| Constructor and Description |
|---|
GuildManager(Guild guild) |
public GuildManager(Guild guild)
public Guild getGuild()
Guild object of this Manager.
Useful if this Manager was returned via a create functionGuild of this Manager@CheckReturnValue public AuditableRestAction<java.lang.Void> setName(java.lang.String name)
Guild.
More information can be found here!
For information on possible ErrorResponses
by the returned RestAction see #update()
name - The new name for this GuildAuditableRestAction
#update()GuildManagerUpdatable.getNameField(),
GuildManagerUpdatable.update()@CheckReturnValue public AuditableRestAction<java.lang.Void> setRegion(Region region)
Region of this Guild.
More information can be found here!
For information on possible ErrorResponses
by the returned RestAction see #update()
region - The new region for this GuildAuditableRestAction
#update()GuildManagerUpdatable.getRegionField(),
GuildManagerUpdatable.update()@CheckReturnValue public AuditableRestAction<java.lang.Void> setIcon(Icon icon)
Icon of this Guild.
More information can be found here!
For information on possible ErrorResponses
by the returned RestAction see #update()
icon - The new icon for this GuildAuditableRestAction
#update()GuildManagerUpdatable.getIconField(),
GuildManagerUpdatable.update()@CheckReturnValue public AuditableRestAction<java.lang.Void> setSplash(Icon splash)
Icon of this Guild.
More information can be found here!
For information on possible ErrorResponses
by the returned RestAction see #update()
splash - The new splash for this GuildAuditableRestAction
#update()GuildManagerUpdatable.getSplashField(),
GuildManagerUpdatable.update()@CheckReturnValue public AuditableRestAction<java.lang.Void> setAfkChannel(VoiceChannel afkChannel)
VoiceChannel of this Guild.
More information can be found here!
For information on possible ErrorResponses
by the returned RestAction see #update()
afkChannel - The new afk channel for this GuildAuditableRestAction
#update()GuildManagerUpdatable.getAfkChannelField(),
GuildManagerUpdatable.update()@CheckReturnValue public AuditableRestAction<java.lang.Void> setAfkTimeout(Guild.Timeout timeout)
Timeout of this Guild.
More information can be found here!
For information on possible ErrorResponses
by the returned RestAction see #update()
timeout - The new afk timeout for this GuildAuditableRestAction
#update()GuildManagerUpdatable.getAfkTimeoutField(),
GuildManagerUpdatable.update()@CheckReturnValue public AuditableRestAction<java.lang.Void> setVerificationLevel(Guild.VerificationLevel level)
Verification Level of this Guild.
More information can be found here!
For information on possible ErrorResponses
by the returned RestAction see #update()
level - The new Verification Level for this GuildAuditableRestAction
#update()GuildManagerUpdatable.getVerificationLevelField(),
GuildManagerUpdatable.update()@CheckReturnValue public AuditableRestAction<java.lang.Void> setDefaultNotificationLevel(Guild.NotificationLevel level)
Notification Level of this Guild.
More information can be found here!
For information on possible ErrorResponses
by the returned RestAction see #update()
level - The new Notification Level for this GuildAuditableRestAction
#update()GuildManagerUpdatable.getDefaultNotificationLevelField(),
GuildManagerUpdatable.update()@CheckReturnValue public AuditableRestAction<java.lang.Void> setRequiredMFALevel(Guild.MFALevel level)
MFA Level of this Guild.
More information can be found here!
For information on possible ErrorResponses
by the returned RestAction see #update()
level - The new MFA Level for this GuildAuditableRestAction
#update()GuildManagerUpdatable.getRequiredMFALevelField(),
GuildManagerUpdatable.update()@CheckReturnValue public AuditableRestAction<java.lang.Void> setExplicitContentLevel(Guild.ExplicitContentLevel level)
Explicit Content Level of this Guild.
More information can be found here!
For information on possible ErrorResponses
by the returned RestAction see #update()
level - The new MFA Level for this GuildAuditableRestAction
#update()java.lang.IllegalArgumentException - If the provided level is null or UNKNOWNGuildManagerUpdatable.getRequiredMFALevelField(),
GuildManagerUpdatable.update()