Remove leftover comments from example

This commit is contained in:
SileNce5k 2021-07-01 17:48:42 +02:00
parent dbb3ba41d5
commit 29d5d81edc
No known key found for this signature in database
GPG key ID: C507260E7F2583AD
2 changed files with 20 additions and 2 deletions

18
commands/update.js Normal file
View file

@ -0,0 +1,18 @@
module.exports = {
name: 'update',
description: 'pull changes from master and reload commands',
admin: true,
execute({message}) {
let cmd = "git pull";
const exec = require("child_process").exec;
exec(cmd, (err, stdout, stderr) => {
process.stdout.write(stdout);
if (err) {
message.channel.send("Something went wrong...");
console.log(stderr);
}
});
}
};