static BotConfig.Builder |
BotConfig.builder(String token) |
|
BotConfig.Builder |
BotConfig.Builder.setCommandPrefix(String commandPrefix) |
Sets the prefix to use for commands.
|
BotConfig.Builder |
BotConfig.Builder.setDebugLogChannelId(discord4j.rest.util.Snowflake debugLogChannelId) |
Sets the channel ID where the bot will send debug log messages.
|
BotConfig.Builder |
BotConfig.Builder.setEmojiGuildIds(Set<discord4j.rest.util.Snowflake> emojiGuildIds) |
Sets the guild IDs where the bot will look for emojis.
|
BotConfig.Builder |
BotConfig.Builder.setFlagPrefix(String flagPrefix) |
Sets the prefix to use for command flags.
|
BotConfig.Builder |
BotConfig.Builder.setInteractiveMenuTimeout(Duration interactiveMenuTimeout) |
Sets the timeout after which interactive menus will automatically close.
|
BotConfig.Builder |
BotConfig.Builder.setMessageCacheMaxSize(int messageCacheMaxSize) |
Sets the maximum size of the message cache.
|
BotConfig.Builder |
BotConfig.Builder.setPaginationControls(PaginationControls paginationControls) |
Sets the pagination controls to use for interative menus.
|
BotConfig.Builder |
BotConfig.Builder.setRestBufferSize(int restBufferSize) |
Sets the buffer size for Discord REST requests.
|
BotConfig.Builder |
BotConfig.Builder.setRestTimeout(Duration restTimeout) |
Sets the timeout to apply on each Discord REST request.
|
BotConfig.Builder |
BotConfig.Builder.setStatus(discord4j.discordjson.json.gateway.StatusUpdate status) |
Sets the initial bot's status.
|