A B C D E F G H I J K L M N O P Q R S T U V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addHandler(Class<T>, BiFunction<T, Context, Mono<Void>>) - Method in class com.github.alex1304.ultimategdbot.api.CommandErrorHandler
-
Adds an error handler.
- addItem(String, String, Function<Context, Mono<Void>>) - Method in class com.github.alex1304.ultimategdbot.api.utils.reply.ReplyMenuBuilder
- apply(Mono<Void>, Context) - Method in class com.github.alex1304.ultimategdbot.api.CommandErrorHandler
-
Applies the handler on the resulting Mono of
Command.execute(Context)
. - ArgUtils - Class in com.github.alex1304.ultimategdbot.api.utils
-
Contains handy methods to deal with command arguments.
- ArgUtils() - Constructor for class com.github.alex1304.ultimategdbot.api.utils.ArgUtils
B
- blacklist(long) - Method in interface com.github.alex1304.ultimategdbot.api.CommandKernel
-
Blacklists a new ID.
- BlacklistedIds - Class in com.github.alex1304.ultimategdbot.api.database
- BlacklistedIds() - Constructor for class com.github.alex1304.ultimategdbot.api.database.BlacklistedIds
- Bot - Interface in com.github.alex1304.ultimategdbot.api
-
Represents the bot itself.
- BOT_ADMIN - Static variable in interface com.github.alex1304.ultimategdbot.api.PermissionLevel
- BOT_OWNER - Static variable in interface com.github.alex1304.ultimategdbot.api.PermissionLevel
- BotAdmins - Class in com.github.alex1304.ultimategdbot.api.database
- BotAdmins() - Constructor for class com.github.alex1304.ultimategdbot.api.database.BotAdmins
- BotUtils - Class in com.github.alex1304.ultimategdbot.api.utils
-
Contains various utility methods.
- build(String) - Method in class com.github.alex1304.ultimategdbot.api.utils.reply.ReplyMenuBuilder
- build(String, Consumer<EmbedCreateSpec>) - Method in class com.github.alex1304.ultimategdbot.api.utils.reply.PaginatedReplyMenuBuilder
- build(String, Consumer<EmbedCreateSpec>) - Method in class com.github.alex1304.ultimategdbot.api.utils.reply.ReplyMenuBuilder
- BYTE - com.github.alex1304.ultimategdbot.api.utils.SystemUnit
C
- chunkMessage(String) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
-
Splits a message into several chunks.
- chunkMessage(String, int) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
-
Splits a message into several chunks which size is specified.
- com.github.alex1304.ultimategdbot.api - package com.github.alex1304.ultimategdbot.api
- com.github.alex1304.ultimategdbot.api.database - package com.github.alex1304.ultimategdbot.api.database
- com.github.alex1304.ultimategdbot.api.utils - package com.github.alex1304.ultimategdbot.api.utils
- com.github.alex1304.ultimategdbot.api.utils.reply - package com.github.alex1304.ultimategdbot.api.utils.reply
- Command - Interface in com.github.alex1304.ultimategdbot.api
-
Represents a bot command.
- CommandErrorHandler - Class in com.github.alex1304.ultimategdbot.api
-
Provides a convenient way to add error handlers for bot commands.
- CommandErrorHandler() - Constructor for class com.github.alex1304.ultimategdbot.api.CommandErrorHandler
- CommandFailedException - Exception in com.github.alex1304.ultimategdbot.api
-
Thrown when something goes wrong during the execution of a command.
- CommandFailedException() - Constructor for exception com.github.alex1304.ultimategdbot.api.CommandFailedException
- CommandFailedException(String) - Constructor for exception com.github.alex1304.ultimategdbot.api.CommandFailedException
- CommandFailedException(String, Throwable) - Constructor for exception com.github.alex1304.ultimategdbot.api.CommandFailedException
- CommandFailedException(String, Throwable, boolean, boolean) - Constructor for exception com.github.alex1304.ultimategdbot.api.CommandFailedException
- CommandFailedException(Throwable) - Constructor for exception com.github.alex1304.ultimategdbot.api.CommandFailedException
- CommandKernel - Interface in com.github.alex1304.ultimategdbot.api
-
The kernel for all bot commands.
- CommandPermissionDeniedException - Exception in com.github.alex1304.ultimategdbot.api
- CommandPermissionDeniedException() - Constructor for exception com.github.alex1304.ultimategdbot.api.CommandPermissionDeniedException
- concatArgs(Context, int) - Static method in class com.github.alex1304.ultimategdbot.api.utils.ArgUtils
-
Concatenates all arguments from the specified index to the end.
- configure() - Method in interface com.github.alex1304.ultimategdbot.api.Database
-
Initializes the database.
- Context - Class in com.github.alex1304.ultimategdbot.api
- Context(Command, MessageCreateEvent, List<String>, Bot, String) - Constructor for class com.github.alex1304.ultimategdbot.api.Context
- Context(Context, List<String>) - Constructor for class com.github.alex1304.ultimategdbot.api.Context
- convert(long) - Method in enum com.github.alex1304.ultimategdbot.api.utils.SystemUnit
-
Converts the given value to the unit represented by the current object
- convertStringToUser(Bot, String) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
D
- Database - Interface in com.github.alex1304.ultimategdbot.api
-
Manages interactions with the database.
- DatabaseException - Exception in com.github.alex1304.ultimategdbot.api
- DatabaseException(Throwable) - Constructor for exception com.github.alex1304.ultimategdbot.api.DatabaseException
- debugError(String, Context, Throwable) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
- delete(Object) - Method in interface com.github.alex1304.ultimategdbot.api.Database
-
Deletes an object from database
E
- equals(Object) - Method in class com.github.alex1304.ultimategdbot.api.database.NativeGuildSettings
- escapeMarkdown(String) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
-
Escapes characters used in Markdown syntax using a backslash
- execute(Context) - Method in interface com.github.alex1304.ultimategdbot.api.Command
-
Executes the command
F
- findByID(Class<T>, K) - Method in interface com.github.alex1304.ultimategdbot.api.Database
-
Allows to find a database entity by its ID.
- findByIDOrCreate(Class<T>, K, BiConsumer<? super T, K>) - Method in interface com.github.alex1304.ultimategdbot.api.Database
-
Deprecated.The use of this method is not as convenient as expected when it was first designed. It is better to call findByID and then process the case where it's not found via a switchIfEmpty operator.
- forkedFrom(Command, Function<Context, Mono<Void>>) - Static method in interface com.github.alex1304.ultimategdbot.api.Command
-
Creates a new Command instance which action is the provided function, and other attributes (alias, error actions, allowed channels, permission level, etc) are inherited from the given base command.
- format(long) - Static method in enum com.github.alex1304.ultimategdbot.api.utils.SystemUnit
-
Formats the given value to a human readable format, using the appropriate unit
- formatDiscordUsername(User) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
-
Formats the username of the user specified as argument with the format username#discriminator
- formatTimeMillis(Duration) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
- forSpecificRole(Function<Context, Mono<Snowflake>>) - Static method in interface com.github.alex1304.ultimategdbot.api.PermissionLevel
- fromChannelId(long, long) - Method in class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
- fromNumber(Number, long) - Method in class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
- fromRoleId(long, long) - Method in class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
G
- generateDefaultDocumentation(Command, Context, String) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
-
Generates a default documentation for the command in a String format.
- getAliases() - Method in interface com.github.alex1304.ultimategdbot.api.Command
-
Gets the aliases for this command.
- getApplicationInfo() - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Get the application info of the bot
- getArgAsInt(Context, int) - Static method in class com.github.alex1304.ultimategdbot.api.utils.ArgUtils
-
Gets the value of the argument at the specified index as int.
- getArgAsLong(Context, int) - Static method in class com.github.alex1304.ultimategdbot.api.utils.ArgUtils
-
Gets the value of the argument at the specified index as long.
- getArgs() - Method in class com.github.alex1304.ultimategdbot.api.Context
-
Gets the arguments of the command.
- getAsString(Session, long) - Method in class com.github.alex1304.ultimategdbot.api.database.GuildSettingsEntry
- getAttachmentsChannel() - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Gets the channel where the bot can send attachments for its embeds.
- getBlacklist() - Method in interface com.github.alex1304.ultimategdbot.api.CommandKernel
-
Gets an unmodifiable set of IDs that are not allowed to perform operations on the command kernel.
- getBot() - Method in class com.github.alex1304.ultimategdbot.api.Context
-
Gets the bot instance.
- getChannelTypesAllowed() - Method in interface com.github.alex1304.ultimategdbot.api.Command
-
Gets the type of channels this command is allowed for use in.
- getCommand() - Method in class com.github.alex1304.ultimategdbot.api.Context
-
Gets the command that created this context.
- getCommand() - Method in exception com.github.alex1304.ultimategdbot.api.InvalidSyntaxException
-
Gets the command involved in the syntax error
- getCommandErrorHandler() - Method in interface com.github.alex1304.ultimategdbot.api.Plugin
-
Gets the command error handler to apply to all commands provided by this plugin.
- getCommandKernel() - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Gets the command kernel of this bot.
- getCommands() - Method in interface com.github.alex1304.ultimategdbot.api.CommandKernel
-
Gets an unmodifiable set of all commands available in the kernel.
- getDatabase() - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Gets the database of the bot.
- getDatabaseMappingResources() - Method in interface com.github.alex1304.ultimategdbot.api.Plugin
-
Gets a set of resource names that corresponds to database mapping files.
- getDebugLogChannel() - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Gets the channel where the bot sends messages for debugging purposes.
- getDefaultPrefix() - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Gets the default prefix.
- getDescription() - Method in interface com.github.alex1304.ultimategdbot.api.Command
-
Gets the description of the command.
- getDiscordClients() - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Gets the Flux containing the discord client for each shard.
- getEmoji(String) - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Gets the String representation of an emoji installed on one of the emoji servers.
- getEntityClass() - Method in class com.github.alex1304.ultimategdbot.api.database.GuildSettingsEntry
- getEvent() - Method in class com.github.alex1304.ultimategdbot.api.Context
-
Gets the message create event associated to this command.
- getGitPropertiesForPlugin(Plugin) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
- getGuildConfigurationEntries() - Method in interface com.github.alex1304.ultimategdbot.api.Plugin
-
Gets a map of configuration entries for guilds.
- getGuildId() - Method in interface com.github.alex1304.ultimategdbot.api.database.GuildSettings
-
Gets the guildID
- getGuildId() - Method in class com.github.alex1304.ultimategdbot.api.database.NativeGuildSettings
- getGuildSettings() - Method in class com.github.alex1304.ultimategdbot.api.Context
-
Deprecated.This method returns the values as strings, for view only. It doesnt allow retrieving the raw values, so it isn't relevant to have this method in the Context object. Also, it makes one different database transaction for each guild setting, so there are performance issues as well.
- getId() - Method in class com.github.alex1304.ultimategdbot.api.database.BlacklistedIds
- getLongDescription() - Method in interface com.github.alex1304.ultimategdbot.api.Command
-
Gets the long description of the command.
- getMainDiscordClient() - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Gets the discord client representing shard 0.
- getName() - Method in interface com.github.alex1304.ultimategdbot.api.Plugin
-
Gets the name of the plugin.
- getPermissionLevel() - Method in interface com.github.alex1304.ultimategdbot.api.Command
-
Gets the permission level required to execute this command.
- getPlugin() - Method in interface com.github.alex1304.ultimategdbot.api.Command
-
Gets the plugin this command belongs to.
- getPlugins() - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Gets a Set containing all successfully loaded plugins.
- getPrefix() - Method in class com.github.alex1304.ultimategdbot.api.database.NativeGuildSettings
- getPrefixUsed() - Method in class com.github.alex1304.ultimategdbot.api.Context
-
Gets the prefix used in the command that created this context.
- getProvidedCommands() - Method in interface com.github.alex1304.ultimategdbot.api.Plugin
-
Gets the set of commands that this plugin provides.
- getRaw(Session, long) - Method in class com.github.alex1304.ultimategdbot.api.database.GuildSettingsEntry
- getReplyMenuTimeout() - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Gets the maximum time in seconds that the bot should wait for a reply when a reply menu is open.
- getServerModRoleId() - Method in class com.github.alex1304.ultimategdbot.api.database.NativeGuildSettings
- getSubcommands() - Method in interface com.github.alex1304.ultimategdbot.api.Command
-
Gets the subcommands.
- getSyntax() - Method in interface com.github.alex1304.ultimategdbot.api.Command
-
Gets the syntax of the command.
- getToken() - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Get the bot token.
- getUserId() - Method in class com.github.alex1304.ultimategdbot.api.database.BotAdmins
- getVar(String, Class<T>) - Method in class com.github.alex1304.ultimategdbot.api.Context
-
Gets the value of a variable.
- getVarOrDefault(String, T) - Method in class com.github.alex1304.ultimategdbot.api.Context
-
Gets the value of a variable.
- GIGABYTE - com.github.alex1304.ultimategdbot.api.utils.SystemUnit
- GuildSettings - Interface in com.github.alex1304.ultimategdbot.api.database
- GuildSettingsEntry<E extends GuildSettings,D> - Class in com.github.alex1304.ultimategdbot.api.database
-
Represents a guild configuration entry.
- GuildSettingsEntry(Class<E>, Function<E, D>, BiConsumer<E, D>, BiFunction<String, Long, Mono<D>>, BiFunction<D, Long, Mono<String>>) - Constructor for class com.github.alex1304.ultimategdbot.api.database.GuildSettingsEntry
- GuildSettingsValueConverter - Class in com.github.alex1304.ultimategdbot.api.utils
- GuildSettingsValueConverter(Bot) - Constructor for class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
H
- HandledCommandException - Exception in com.github.alex1304.ultimategdbot.api
- HandledCommandException(Throwable) - Constructor for exception com.github.alex1304.ultimategdbot.api.HandledCommandException
- hashCode() - Method in class com.github.alex1304.ultimategdbot.api.database.NativeGuildSettings
I
- InvalidSyntaxException - Exception in com.github.alex1304.ultimategdbot.api
- InvalidSyntaxException(Command) - Constructor for exception com.github.alex1304.ultimategdbot.api.InvalidSyntaxException
- invokeCommand(Command, Context) - Method in interface com.github.alex1304.ultimategdbot.api.CommandKernel
-
Invokes a command with the specified context.
- isGranted(Context) - Method in interface com.github.alex1304.ultimategdbot.api.PermissionLevel
-
Whether the user is granted the permission to use the command.
J
- joinAliases(Set<String>) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
- justCheck(String, long, Predicate<String>, String) - Method in class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
K
- KILOBYTE - com.github.alex1304.ultimategdbot.api.utils.SystemUnit
L
- log(String) - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Sends a message into the debug log channel.
- log(Consumer<MessageCreateSpec>) - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Sends a message into the debug log channel.
- logStackTrace(Context, Throwable) - Method in interface com.github.alex1304.ultimategdbot.api.Bot
-
Deprecated.See BotUtils#debugError for a more standardized and reusable format.
M
- MEGABYTE - com.github.alex1304.ultimategdbot.api.utils.SystemUnit
N
- NativeGuildSettings - Class in com.github.alex1304.ultimategdbot.api.database
- NativeGuildSettings() - Constructor for class com.github.alex1304.ultimategdbot.api.database.NativeGuildSettings
- noConversion(String, long) - Method in class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
- NONE_VALUE - Static variable in class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
O
- onBotReady(Bot) - Method in interface com.github.alex1304.ultimategdbot.api.Plugin
-
Action to execute when the bot is ready.
P
- PaginatedReplyMenuBuilder - Class in com.github.alex1304.ultimategdbot.api.utils.reply
- PaginatedReplyMenuBuilder(Command, Context, boolean, boolean, int) - Constructor for class com.github.alex1304.ultimategdbot.api.utils.reply.PaginatedReplyMenuBuilder
- parse(String, Function<String, P>) - Method in class com.github.alex1304.ultimategdbot.api.utils.PropertyParser
-
Parses a value using the given function and returns it
- parseArgs(String) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
- parseArgs(String, String) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
- parseAsInt(String) - Method in class com.github.alex1304.ultimategdbot.api.utils.PropertyParser
-
Convenient method that is similar as doing:
- parseAsIntOrDefault(String, int) - Method in class com.github.alex1304.ultimategdbot.api.utils.PropertyParser
-
Convenient method that is similar as doing:
- parseAsList(String, String, Function<String, E>) - Method in class com.github.alex1304.ultimategdbot.api.utils.PropertyParser
-
Attempts to parse the vale as a list of values, each element being separated with a separator character.
- parseAsListOrEmpty(String, String, Function<String, E>) - Method in class com.github.alex1304.ultimategdbot.api.utils.PropertyParser
-
Same as
PropertyParser.parseAsList(String, String, Function)
but in case of error returns an empty list instead of throwing anIllegalArgumentException
. - parseAsLong(String) - Method in class com.github.alex1304.ultimategdbot.api.utils.PropertyParser
-
Convenient method that is similar as doing:
- parseAsLongOrDefault(String, long) - Method in class com.github.alex1304.ultimategdbot.api.utils.PropertyParser
-
Convenient method that is similar as doing:
- parseAsString(String) - Method in class com.github.alex1304.ultimategdbot.api.utils.PropertyParser
-
Convenient method that is similar as doing:
- parseAsStringOrDefault(String, String) - Method in class com.github.alex1304.ultimategdbot.api.utils.PropertyParser
-
Convenient method that is similar as doing:
- parseCommandLine(String) - Method in interface com.github.alex1304.ultimategdbot.api.CommandKernel
-
Reads the command line and retrieves the corresponding Command instance.
- parseCommandLine(List<String>) - Method in interface com.github.alex1304.ultimategdbot.api.CommandKernel
-
Reads the command line and retrieves the corresponding Command instance.
- parseOrDefault(String, Function<String, P>, P) - Method in class com.github.alex1304.ultimategdbot.api.utils.PropertyParser
-
Parses a value using the given function and returns it.
- performEmptyTransaction(Consumer<Session>) - Method in interface com.github.alex1304.ultimategdbot.api.Database
-
Allows to perform more complex actions with the database, by having full control on the current transaction.
- performTransaction(Function<Session, V>) - Method in interface com.github.alex1304.ultimategdbot.api.Database
-
Allows to perform more complex actions with the database, by having full control on the current transaction.
- performTransactionWhen(Function<Session, Publisher<V>>) - Method in interface com.github.alex1304.ultimategdbot.api.Database
-
Allows to manipulate a Session in an asynchronous context.
- PermissionLevel - Interface in com.github.alex1304.ultimategdbot.api
-
Permission level of a bot command.
- Plugin - Interface in com.github.alex1304.ultimategdbot.api
-
Represents a plugin.
- PropertyParser - Class in com.github.alex1304.ultimategdbot.api.utils
-
Allows to parse values from properties files.
- PropertyParser(String, Properties) - Constructor for class com.github.alex1304.ultimategdbot.api.utils.PropertyParser
- PUBLIC - Static variable in interface com.github.alex1304.ultimategdbot.api.PermissionLevel
Q
- query(Class<T>, String, Object...) - Method in interface com.github.alex1304.ultimategdbot.api.Database
-
Makes a simple query to the database.
R
- removeQuotesUnlessEscaped(String) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
-
Returns the same test but without quotes, unless they are escaped with a backslash.
- reply(String) - Method in class com.github.alex1304.ultimategdbot.api.Context
-
Sends a message in the same channel the command was sent.
- reply(Consumer<? super MessageCreateSpec>) - Method in class com.github.alex1304.ultimategdbot.api.Context
-
Sends a message in the same channel the command was sent.
- ReplyMenuBuilder - Class in com.github.alex1304.ultimategdbot.api.utils.reply
-
Builds a reply menu.
- ReplyMenuBuilder(Context, boolean, boolean) - Constructor for class com.github.alex1304.ultimategdbot.api.utils.reply.ReplyMenuBuilder
- requireMinimumArgCount(Context, int) - Static method in class com.github.alex1304.ultimategdbot.api.utils.ArgUtils
-
Checks if the arguments of htis context has an argument count greater or equal to the given count.
- requireMinimumArgCount(Context, int, String) - Static method in class com.github.alex1304.ultimategdbot.api.utils.ArgUtils
-
Checks if the arguments of htis context has an argument count greater or equal to the given count.
S
- save(Object) - Method in interface com.github.alex1304.ultimategdbot.api.Database
-
Saves an object in database
- sendMultipleMessagesToOneChannel(Mono<Channel>, Iterable<Consumer<MessageCreateSpec>>) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
- sendMultipleSimpleMessagesToOneChannel(Mono<Channel>, Iterable<String>) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
- sendOneMessageToMultipleChannels(Flux<Channel>, Consumer<MessageCreateSpec>) - Static method in class com.github.alex1304.ultimategdbot.api.utils.BotUtils
- SERVER_ADMIN - Static variable in interface com.github.alex1304.ultimategdbot.api.PermissionLevel
- SERVER_MOD - Static variable in interface com.github.alex1304.ultimategdbot.api.PermissionLevel
- setFromString(Session, String, long) - Method in class com.github.alex1304.ultimategdbot.api.database.GuildSettingsEntry
- setGuildId(long) - Method in interface com.github.alex1304.ultimategdbot.api.database.GuildSettings
-
Sets the guildID
- setGuildId(long) - Method in class com.github.alex1304.ultimategdbot.api.database.NativeGuildSettings
- setGuildSetting(String, String) - Method in class com.github.alex1304.ultimategdbot.api.Context
-
Deprecated.This method only supports setting new values from their string conversion. It doesn't allow a lot of flexibility, and it isn't relevant to have a such method in the Context object to begin with. The recommended way to change a guild setting is by iterating through all plugins (Bot#getPlugins), checking for each plugin if key exists, and using the appropriate value setter on the found entry.
- setHeader(String) - Method in class com.github.alex1304.ultimategdbot.api.utils.reply.PaginatedReplyMenuBuilder
- setHeader(String) - Method in class com.github.alex1304.ultimategdbot.api.utils.reply.ReplyMenuBuilder
- setId(long) - Method in class com.github.alex1304.ultimategdbot.api.database.BlacklistedIds
- setPrefix(String) - Method in class com.github.alex1304.ultimategdbot.api.database.NativeGuildSettings
- setRaw(Session, D, long) - Method in class com.github.alex1304.ultimategdbot.api.database.GuildSettingsEntry
- setServerModRoleId(long) - Method in class com.github.alex1304.ultimategdbot.api.database.NativeGuildSettings
- setup(Bot, PropertyParser) - Method in interface com.github.alex1304.ultimategdbot.api.Plugin
-
Code executed when the plugin is loaded.
- setUserId(long) - Method in class com.github.alex1304.ultimategdbot.api.database.BotAdmins
- setVar(String, Object) - Method in class com.github.alex1304.ultimategdbot.api.Context
-
Adds a variable in this context.
- setVarIfNotExists(String, Object) - Method in class com.github.alex1304.ultimategdbot.api.Context
-
Adds a variable in this context.
- SystemUnit - Enum in com.github.alex1304.ultimategdbot.api.utils
-
Enumerates system units (bytes, kilobytes, etc until terabytes) Provides methods for conversion and formatting.
T
- TERABYTE - com.github.alex1304.ultimategdbot.api.utils.SystemUnit
- toBoolean(String, long) - Method in class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
- toCategoryId(String, long) - Method in class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
- toNumber(String, long, Function<String, N>) - Method in class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
- toNumberWithCheck(String, long, Function<String, N>, Predicate<N>, String) - Method in class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
- toRoleId(String, long) - Method in class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
- toString() - Method in class com.github.alex1304.ultimategdbot.api.Context
- toString() - Method in enum com.github.alex1304.ultimategdbot.api.utils.SystemUnit
- toTextChannelId(String, long) - Method in class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
- toVoiceChannelId(String, long) - Method in class com.github.alex1304.ultimategdbot.api.utils.GuildSettingsValueConverter
U
- unblacklist(long) - Method in interface com.github.alex1304.ultimategdbot.api.CommandKernel
-
Removes an ID from the blacklist.
V
- valueAsStringToDatabase(Database, String, long) - Method in class com.github.alex1304.ultimategdbot.api.database.GuildSettingsEntry
-
Deprecated.
- valueFromDatabase(Database, long) - Method in class com.github.alex1304.ultimategdbot.api.database.GuildSettingsEntry
-
Deprecated.
- valueFromDatabaseAsString(Database, long) - Method in class com.github.alex1304.ultimategdbot.api.database.GuildSettingsEntry
-
Deprecated.
- valueOf(String) - Static method in enum com.github.alex1304.ultimategdbot.api.utils.SystemUnit
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.github.alex1304.ultimategdbot.api.utils.SystemUnit
-
Returns an array containing the constants of this enum type, in the order they are declared.
- valueToDatabase(Database, D, long) - Method in class com.github.alex1304.ultimategdbot.api.database.GuildSettingsEntry
-
Deprecated.
All Classes All Packages