mirror of
https://github.com/danbulant/Shasha
synced 2026-07-07 20:10:56 +00:00
ASYNC
This commit is contained in:
parent
8bd14b54fa
commit
13d19ad0c1
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ module.exports = class update extends commando.Command {
|
||||||
guarded: true
|
guarded: true
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
run(msg) {
|
async run(msg) {
|
||||||
return exec("bash ../../.update.sh", (xe, o, e) => {
|
return exec("bash ../../.update.sh", (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);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue