mirror of
https://github.com/danbulant/Shasha
synced 2026-07-07 03:51:09 +00:00
ASYNCCC
This commit is contained in:
parent
13d19ad0c1
commit
885e9cf737
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ module.exports = class update extends commando.Command {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
async run(msg) {
|
async run(msg) {
|
||||||
return exec("bash ../../.update.sh", (xe, o, e) => {
|
return exec("bash ../../.update.sh", async (xe, o, e) => {
|
||||||
if (xe || e) {
|
if (xe || e) {
|
||||||
await errLog(xe || e, msg, msg.client, true, "", true);
|
await errLog(xe || e, msg, msg.client, true, "", true);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue