diff options
| -rw-r--r-- | bot_discord.js | 2 | ||||
| -rw-r--r-- | commands/ask.js | 2 | ||||
| -rw-r--r-- | commands/avatarurl.js | 2 | ||||
| -rw-r--r-- | commands/ban.js | 2 | ||||
| -rw-r--r-- | commands/changelog.js | 2 | ||||
| -rw-r--r-- | commands/eval.js | 2 | ||||
| -rw-r--r-- | commands/git.js | 2 | ||||
| -rw-r--r-- | commands/help.js | 2 | ||||
| -rw-r--r-- | commands/invitebot.js | 2 | ||||
| -rw-r--r-- | commands/kick.js | 2 | ||||
| -rw-r--r-- | commands/ping.js | 2 | ||||
| -rw-r--r-- | commands/play.js | 2 | ||||
| -rw-r--r-- | commands/poweroff.js | 2 | ||||
| -rw-r--r-- | commands/purge.js | 2 | ||||
| -rw-r--r-- | commands/say.js | 2 | ||||
| -rw-r--r-- | commands/uptime.js | 2 |
16 files changed, 15 insertions, 17 deletions
diff --git a/bot_discord.js b/bot_discord.js index 1361bdb..23de734 100644 --- a/bot_discord.js +++ b/bot_discord.js @@ -81,8 +81,6 @@ client.on('guildDelete', guild => { client.on('message', (msg) => {
- if (msg.author.bot) return;
-
if (!msg.content.startsWith(prefix)) return;
const args = msg.content.slice(prefix.length).trim().split(/ +/g);
const command = args.shift();
diff --git a/commands/ask.js b/commands/ask.js index d3d0f4a..098f5fe 100644 --- a/commands/ask.js +++ b/commands/ask.js @@ -19,7 +19,7 @@ module.exports.run = async (client, message, args) => { exports.conf = { aliases: ['8ball'], - guildOnly: false, + guildOnly: true, }; exports.help = { name: 'ask', diff --git a/commands/avatarurl.js b/commands/avatarurl.js index 87e9321..add91af 100644 --- a/commands/avatarurl.js +++ b/commands/avatarurl.js @@ -4,7 +4,7 @@ module.exports.run = async (client, message) => { exports.conf = { aliases: [], - guildOnly: false, + guildOnly: true, }; exports.help = { name: 'avatarurl', diff --git a/commands/ban.js b/commands/ban.js index a8d5c6a..0ffbe1c 100644 --- a/commands/ban.js +++ b/commands/ban.js @@ -13,7 +13,7 @@ module.exports.run = async (client, message, args) => { exports.conf = { aliases: [], - guildOnly: false, + guildOnly: true, }; exports.help = { name: 'ban', diff --git a/commands/changelog.js b/commands/changelog.js index 2c69bb0..5f8d95a 100644 --- a/commands/changelog.js +++ b/commands/changelog.js @@ -13,7 +13,7 @@ module.exports.run = async (client, message) => { exports.conf = {
aliases: [],
- guildOnly: false,
+ guildOnly: true,
};
exports.help = {
name: 'changelog',
diff --git a/commands/eval.js b/commands/eval.js index a1aae92..c411c12 100644 --- a/commands/eval.js +++ b/commands/eval.js @@ -56,7 +56,7 @@ module.exports.run = async (client, message, args) => { exports.conf = { aliases: [], - guildOnly: false, + guildOnly: true, }; exports.help = { name: 'eval', diff --git a/commands/git.js b/commands/git.js index a01d0a3..f43fcf4 100644 --- a/commands/git.js +++ b/commands/git.js @@ -4,7 +4,7 @@ module.exports.run = async (client, message) => { exports.conf = {
aliases: [],
- guildOnly: false,
+ guildOnly: true,
};
exports.help = {
name: 'git',
diff --git a/commands/help.js b/commands/help.js index 4033289..4103510 100644 --- a/commands/help.js +++ b/commands/help.js @@ -31,7 +31,7 @@ module.exports.run = async (client, message) => { exports.conf = {
aliases: ['h'],
- guildOnly: false,
+ guildOnly: true,
};
exports.help = {
name: 'help',
diff --git a/commands/invitebot.js b/commands/invitebot.js index 2017cf3..e3e13bf 100644 --- a/commands/invitebot.js +++ b/commands/invitebot.js @@ -5,7 +5,7 @@ module.exports.run = async (client, message) => { exports.conf = { aliases: [], - guildOnly: false, + guildOnly: true, }; exports.help = { name: 'invitebot', diff --git a/commands/kick.js b/commands/kick.js index ffef077..5ca666b 100644 --- a/commands/kick.js +++ b/commands/kick.js @@ -8,7 +8,7 @@ module.exports.run = async (client, message) => { exports.conf = { aliases: [], - guildOnly: false, + guildOnly: true, }; exports.help = { name: 'kick', diff --git a/commands/ping.js b/commands/ping.js index 5ad8f78..cfddbf5 100644 --- a/commands/ping.js +++ b/commands/ping.js @@ -4,7 +4,7 @@ module.exports.run = async (client, message) => { exports.conf = {
aliases: [],
- guildOnly: false,
+ guildOnly: true,
};
exports.help = {
name: 'ping',
diff --git a/commands/play.js b/commands/play.js index d94572e..9b87448 100644 --- a/commands/play.js +++ b/commands/play.js @@ -61,7 +61,7 @@ module.exports.run = async (client, message, args) => { exports.conf = { aliases: [], - guildOnly: false, + guildOnly: true, }; exports.help = { name: 'play', diff --git a/commands/poweroff.js b/commands/poweroff.js index 8016726..7b10b4c 100644 --- a/commands/poweroff.js +++ b/commands/poweroff.js @@ -6,7 +6,7 @@ module.exports.run = async (client, message, args) => { exports.conf = { aliases: ['reboot'], - guildOnly: false, + guildOnly: true, }; exports.help = { name: 'poweroff', diff --git a/commands/purge.js b/commands/purge.js index 36a0803..461e102 100644 --- a/commands/purge.js +++ b/commands/purge.js @@ -10,7 +10,7 @@ module.exports.run = async (client, message, args) => { exports.conf = { aliases: ['rm'], - guildOnly: false, + guildOnly: true, }; exports.help = { name: 'purge', diff --git a/commands/say.js b/commands/say.js index dfa2323..7ff6d2a 100644 --- a/commands/say.js +++ b/commands/say.js @@ -7,7 +7,7 @@ module.exports.run = async (client, message, args) => { exports.conf = { aliases: [], - guildOnly: false, + guildOnly: true, }; exports.help = { name: 'say', diff --git a/commands/uptime.js b/commands/uptime.js index c1c3ad7..2467751 100644 --- a/commands/uptime.js +++ b/commands/uptime.js @@ -16,7 +16,7 @@ module.exports.run = async (client, message) => { exports.conf = {
aliases: [],
- guildOnly: false,
+ guildOnly: true,
};
exports.help = {
name: 'uptime',
|
