This commit is contained in:
@@ -1,14 +0,0 @@
|
|||||||
package utils
|
|
||||||
|
|
||||||
import (
|
|
||||||
"gestion/db"
|
|
||||||
)
|
|
||||||
|
|
||||||
func CheckCommand(commandID int, database *db.Database) bool {
|
|
||||||
_, err := database.GetCommandByID(commandID)
|
|
||||||
if err != nil {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user