Class CommandLogDAO
java.lang.Object
de.klassenserver7b.k7bot.database.dao.CommandLogDAO
Data Access Object for handling CommandLogEntity operations. Provides methods
for inserting logs of executed commands.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CommandLogDAO
public CommandLogDAO()
-
-
Method Details
-
insertLog
Inserts a log entry for a command execution.- Parameters:
command- the name or alias of the executed 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 executed- Returns:
- a CompletableFuture that completes when the operation is finished
-