Interface GuildWelcomeScreenManager

All Superinterfaces:
AuditableRestAction<Void>, Manager<GuildWelcomeScreenManager>, RestAction<Void>

public interface GuildWelcomeScreenManager extends Manager<GuildWelcomeScreenManager>
Manager providing functionality to update one or more fields for a GuildWelcomeScreen.

Example


 manager.setEnabled(false)
        .setDescription(null)
        .setWelcomeChannels()
        .queue();
 manager.setEnabled(true)
        .setDescription("Bot desc")
        .setWelcomeChannels(Arrays.asList(
                GuildWelcomeScreen.Channel.of(rulesChannel, "Read the rules first"),
                GuildWelcomeScreen.Channel.of(generalChannel, "Go have a chat", Emoji.fromUnicode("U+1F4AC"))
        ))
        .queue();
 
See Also: