Skip to content

Commit

Permalink
fix(discord: commands): make reboot require owner
Browse files Browse the repository at this point in the history
  • Loading branch information
dsevillamartin committed Oct 21, 2017
1 parent 1ecd53b commit 6bac3d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/Discord/Commands/Reboot.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ class RebootCommand extends Command {
description: 'reboot bot',
usage: 'ping',
};
this.setConf({
permLevel: 2,
});
}
run(msg) {
return msg.channel.send({
Expand Down

0 comments on commit 6bac3d5

Please sign in to comment.