Guild Provider
A provider interface for guild data management.
Functions
Link copied to clipboard
Creates the container that will hold guilds.
Link copied to clipboard
Saves a new Guild to the database.
Link copied to clipboard
Deletes a guild from the database.
Link copied to clipboard
Gets all guild IDs from the database.
Link copied to clipboard
Gets all guilds from the database.
Link copied to clipboard
abstract fun guildExists(@Nullable tablePrefix: @Nullable String, @NotNull id: @NotNull String): Boolean
Checks whether a guild with the specified id exists.
Link copied to clipboard
abstract fun updateGuild(@Nullable tablePrefix: @Nullable String, @NotNull id: @NotNull String, @NotNull data: @NotNull String)
Updates a Guild in the database.