forked from Supositware/Haha-Yes
Make it work again
This commit is contained in:
parent
c0df5e0367
commit
b18faec59e
1 changed files with 10 additions and 13 deletions
|
@ -17,7 +17,6 @@ class EvalCommand extends Command {
|
|||
}
|
||||
|
||||
async exec(message) {
|
||||
async function update() {
|
||||
const { stdout, stderr } = await exec('git pull');
|
||||
const Embed = this.client.util.embed()
|
||||
.addField('stdout', stdout)
|
||||
|
@ -29,8 +28,6 @@ class EvalCommand extends Command {
|
|||
console.log(`stdout: ${stdout}`);
|
||||
console.error(`stderr: ${stderr}`);
|
||||
}
|
||||
update();
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = EvalCommand;
|
Loading…
Reference in a new issue