Class SlashCommandLogDAO
java.lang.Object
de.klassenserver7b.k7bot.database.dao.SlashCommandLogDAO
Data Access Object for handling SlashCommandLogEntity operations. Provides
methods for logging executed slash commands.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SlashCommandLogDAO
public SlashCommandLogDAO()
-
-
Method Details
-
insertLog
public CompletableFuture<Void> insertLog(String command, Long guildId, Long userId, Long timestamp, String commandstring) Inserts a log entry for a slash command execution.- Parameters:
command- the name of the slash commandguildId- the ID of the guild where the command was executeduserId- the ID of the user who executed the commandtimestamp- the timestamp of when the command was executedcommandstring- the full string representation of the executed command with options- Returns:
- a CompletableFuture that completes when the operation is finished
-