Challenge My SQLProvider
Functions
Link copied to clipboard
abstract fun challengeExists(@NotNull prefix: @NotNull String, @NotNull id: @NotNull String): Boolean
Checks whether a challenge with the specified id exists.
Link copied to clipboard
Saves a new challenge to the database.
Link copied to clipboard
Creates the container that will hold challenges.
Link copied to clipboard
Deletes a challenge from the database
Link copied to clipboard
Gets all challenges from the database.
Link copied to clipboard
abstract fun getChallenge(@NotNull prefix: @NotNull String, @NotNull id: @NotNull String): GuildChallenge
Gets a single challenge by id.
Link copied to clipboard
abstract fun updateChallenge(@NotNull prefix: @NotNull String, @NotNull id: @NotNull String, @NotNull data: @NotNull String)
Updates a challenge in the database.