Use SQL on owner custom command subcommand
This commit is contained in:
parent
345a03a3b0
commit
0c45055e0f
2 changed files with 24 additions and 10 deletions
|
@ -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`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue