Use SQL on owner custom command subcommand
All checks were successful
CI / CI (push) Successful in 21s
Lint Codebase / eslint (push) Successful in 16s

This commit is contained in:
SileNce5k 2024-12-19 19:52:02 +01:00
parent 345a03a3b0
commit 0c45055e0f
Signed by: SileNce
GPG key ID: B0A142BB4291B204
2 changed files with 24 additions and 10 deletions

View file

@ -42,7 +42,7 @@ module.exports = {
break;
}
case "owner":{
let author = getOwnerOfCustomCommand(customName);
let author = await getOwnerOfCustomCommand(customName);
let user;
if(!author)
sendText = `${customName} does not exist`