From 6bac3d559e8d57422e9f1d9485128a1c5280ffb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sevilla=20Mart=C3=ADn?= Date: Sat, 21 Oct 2017 19:30:47 -0400 Subject: [PATCH] fix(discord: commands): make reboot require owner --- lib/Discord/Commands/Reboot.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Discord/Commands/Reboot.js b/lib/Discord/Commands/Reboot.js index f135ed2..9c3273d 100644 --- a/lib/Discord/Commands/Reboot.js +++ b/lib/Discord/Commands/Reboot.js @@ -8,6 +8,9 @@ class RebootCommand extends Command { description: 'reboot bot', usage: 'ping', }; + this.setConf({ + permLevel: 2, + }); } run(msg) { return msg.channel.send({