Package com.github.alex1304.ultimategdbot.api
-
Interface Summary Interface Description Bot Represents the bot itself.PluginBootstrap Configures and creates a plugin. -
Class Summary Class Description BotConfig Holds the bot's configuration.BotConfig.Builder NewBucketGlobalRateLimiter An implementation ofGlobalRateLimiter
that uses aNewRateLimitOperator
coordinate requests, injecting an additional delay if a source trips the limiter early throughNewBucketGlobalRateLimiter.rateLimitFor(Duration)
.NewRateLimitOperator<T> A rate limiting operator based off the token bucket algorithm.Plugin Represents a plugin.Plugin.Builder SimpleBot Basic implementation of a Discord bot, configured with default Discord4J settings.