This commit is contained in:
2024-11-04 11:14:43 -06:00
parent b805f27d0e
commit 359520fe83
4 changed files with 13 additions and 28 deletions

View File

@ -25,11 +25,6 @@ func HandleCommand(commandName string, cooldownDuration time.Duration, handler C
log.Printf("Error storing user: %v", dbErr)
}
// Rest of your existing HandleCommand logic...
if !CheckAndApplyCooldown(s, i, commandName, cooldownDuration) {
return
}
if !CheckAndApplyCooldown(s, i, commandName, cooldownDuration) {
return
}