aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bot_discord.js1
-rw-r--r--commands/ask.js2
-rw-r--r--commands/avatarurl.js2
-rw-r--r--commands/ban.js2
-rw-r--r--commands/changelog.js2
-rw-r--r--commands/eval.js2
-rw-r--r--commands/git.js2
-rw-r--r--commands/help.js2
-rw-r--r--commands/invitebot.js2
-rw-r--r--commands/kick.js2
-rw-r--r--commands/money.js2
-rw-r--r--commands/ping.js2
-rw-r--r--commands/play.js2
-rw-r--r--commands/poweroff.js2
-rw-r--r--commands/purge.js2
-rw-r--r--commands/say.js2
-rw-r--r--commands/setmoney.js2
-rw-r--r--commands/suggest.js2
-rw-r--r--commands/uptime.js2
19 files changed, 19 insertions, 18 deletions
diff --git a/bot_discord.js b/bot_discord.js
index 2d9a488..02d7a7d 100644
--- a/bot_discord.js
+++ b/bot_discord.js
@@ -87,6 +87,7 @@ 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 1135cf7..ed8fefc 100644
--- a/commands/ask.js
+++ b/commands/ask.js
@@ -43,7 +43,7 @@ module.exports.run = async (client, message, args) => {
exports.conf = {
aliases: ['8ball'],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'ask',
diff --git a/commands/avatarurl.js b/commands/avatarurl.js
index 10bb78f..ae3241a 100644
--- a/commands/avatarurl.js
+++ b/commands/avatarurl.js
@@ -28,7 +28,7 @@ module.exports.run = async (client, message) => {
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'avatarurl',
diff --git a/commands/ban.js b/commands/ban.js
index adb8e43..1f25f15 100644
--- a/commands/ban.js
+++ b/commands/ban.js
@@ -34,7 +34,7 @@ module.exports.run = async (client, message, args) => {
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'ban',
diff --git a/commands/changelog.js b/commands/changelog.js
index 3dfbb61..8b5f70a 100644
--- a/commands/changelog.js
+++ b/commands/changelog.js
@@ -38,7 +38,7 @@ module.exports.run = async (client, message) => {
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'changelog',
diff --git a/commands/eval.js b/commands/eval.js
index 6c787b0..095251e 100644
--- a/commands/eval.js
+++ b/commands/eval.js
@@ -80,7 +80,7 @@ module.exports.run = async (client, message, args) => {
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'eval',
diff --git a/commands/git.js b/commands/git.js
index 6d6ee53..17dc087 100644
--- a/commands/git.js
+++ b/commands/git.js
@@ -28,7 +28,7 @@ module.exports.run = async (client, message) => {
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'git',
diff --git a/commands/help.js b/commands/help.js
index 7b43e01..6634e68 100644
--- a/commands/help.js
+++ b/commands/help.js
@@ -55,7 +55,7 @@ module.exports.run = async (client, message) => {
exports.conf = {
aliases: ['h'],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'help',
diff --git a/commands/invitebot.js b/commands/invitebot.js
index 03e4533..2927e17 100644
--- a/commands/invitebot.js
+++ b/commands/invitebot.js
@@ -29,7 +29,7 @@ module.exports.run = async (client, message) => {
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'invitebot',
diff --git a/commands/kick.js b/commands/kick.js
index 062e035..28148e3 100644
--- a/commands/kick.js
+++ b/commands/kick.js
@@ -34,7 +34,7 @@ module.exports.run = async (client, message, args) => {
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'kick',
diff --git a/commands/money.js b/commands/money.js
index c818d0d..a505446 100644
--- a/commands/money.js
+++ b/commands/money.js
@@ -38,7 +38,7 @@ module.exports.run = async (client, message) => {
exports.conf = {
aliases: ['bal', 'balance'],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'money',
diff --git a/commands/ping.js b/commands/ping.js
index c1e9590..cd8d167 100644
--- a/commands/ping.js
+++ b/commands/ping.js
@@ -28,7 +28,7 @@ module.exports.run = async (client, message) => {
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'ping',
diff --git a/commands/play.js b/commands/play.js
index cab6329..ce7072c 100644
--- a/commands/play.js
+++ b/commands/play.js
@@ -85,7 +85,7 @@ module.exports.run = async (client, message, args) => {
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'play',
diff --git a/commands/poweroff.js b/commands/poweroff.js
index 27f46db..61626a4 100644
--- a/commands/poweroff.js
+++ b/commands/poweroff.js
@@ -30,7 +30,7 @@ module.exports.run = async (client, message, args) => {
exports.conf = {
aliases: ['reboot'],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'poweroff',
diff --git a/commands/purge.js b/commands/purge.js
index 2b7666d..859c4f3 100644
--- a/commands/purge.js
+++ b/commands/purge.js
@@ -34,7 +34,7 @@ module.exports.run = async (client, message, args) => {
exports.conf = {
aliases: ['rm'],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'purge',
diff --git a/commands/say.js b/commands/say.js
index c706216..2208bb4 100644
--- a/commands/say.js
+++ b/commands/say.js
@@ -31,7 +31,7 @@ module.exports.run = async (client, message, args) => {
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'say',
diff --git a/commands/setmoney.js b/commands/setmoney.js
index 954a022..00060d1 100644
--- a/commands/setmoney.js
+++ b/commands/setmoney.js
@@ -53,7 +53,7 @@ module.exports.run = async (client, message, args) => {
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'setmoney',
diff --git a/commands/suggest.js b/commands/suggest.js
index d8171ab..fd71b7b 100644
--- a/commands/suggest.js
+++ b/commands/suggest.js
@@ -40,7 +40,7 @@ module.exports.run = async (client, message, args) => {
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'suggest',
diff --git a/commands/uptime.js b/commands/uptime.js
index d36975f..4f799b4 100644
--- a/commands/uptime.js
+++ b/commands/uptime.js
@@ -40,7 +40,7 @@ module.exports.run = async (client, message) => {
exports.conf = {
aliases: [],
- guildOnly: true,
+ guildOnly: false,
};
exports.help = {
name: 'uptime',