aboutsummaryrefslogtreecommitdiff
path: root/commands/Moderation
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-03-31 21:45:52 -0400
committerUnknown <jtsshieh@outlook.com>2018-03-31 21:45:52 -0400
commitac6fc04fcf61c7e8dbc13a9de15595ebbd27126d (patch)
tree42f53eb3ad4143b5c7434c65fc513217b904b67c /commands/Moderation
parent3941f5cbfe47a632f7cd64f9cdec80cfeee9b015 (diff)
downloadPokeBot-ac6fc04fcf61c7e8dbc13a9de15595ebbd27126d.tar.gz
PokeBot-ac6fc04fcf61c7e8dbc13a9de15595ebbd27126d.tar.bz2
PokeBot-ac6fc04fcf61c7e8dbc13a9de15595ebbd27126d.zip
HUGE cleanup
Diffstat (limited to 'commands/Moderation')
-rw-r--r--commands/Moderation/ban.js13
-rw-r--r--commands/Moderation/interrogate.js13
-rw-r--r--commands/Moderation/jail.js13
-rw-r--r--commands/Moderation/kick.js13
-rw-r--r--commands/Moderation/lswarns.js13
-rw-r--r--commands/Moderation/purge.js13
-rw-r--r--commands/Moderation/setLogs.js13
-rw-r--r--commands/Moderation/setSuggestions.js44
-rw-r--r--commands/Moderation/softban.js13
-rw-r--r--commands/Moderation/timeout.js13
-rw-r--r--commands/Moderation/warn.js13
11 files changed, 26 insertions, 148 deletions
diff --git a/commands/Moderation/ban.js b/commands/Moderation/ban.js
index 5974c53..545618c 100644
--- a/commands/Moderation/ban.js
+++ b/commands/Moderation/ban.js
@@ -3,18 +3,7 @@
* Ban: Plugin for PokeBot that performs moderation actions.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the Open Software License version 3.0
*
* *************************************/
diff --git a/commands/Moderation/interrogate.js b/commands/Moderation/interrogate.js
index 8fa9708..a8fc250 100644
--- a/commands/Moderation/interrogate.js
+++ b/commands/Moderation/interrogate.js
@@ -3,18 +3,7 @@
* Interrogate: Plugin for PokeBot that allows the staff to investigate the fish :cod:
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the Open Software License version 3.0
*
* *************************************/
diff --git a/commands/Moderation/jail.js b/commands/Moderation/jail.js
index 9923540..3388663 100644
--- a/commands/Moderation/jail.js
+++ b/commands/Moderation/jail.js
@@ -3,18 +3,7 @@
* Jail: Plugin for PokeBot that punishes bad boys..
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the Open Software License version 3.0
*
* *************************************/
diff --git a/commands/Moderation/kick.js b/commands/Moderation/kick.js
index c9d1d24..3a8c597 100644
--- a/commands/Moderation/kick.js
+++ b/commands/Moderation/kick.js
@@ -3,18 +3,7 @@
* Kick: Plugin for PokeBot that performs moderation actions.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the Open Software License version 3.0
*
* *************************************/
diff --git a/commands/Moderation/lswarns.js b/commands/Moderation/lswarns.js
index 7d03c12..0a165b3 100644
--- a/commands/Moderation/lswarns.js
+++ b/commands/Moderation/lswarns.js
@@ -3,18 +3,7 @@
* List Warns: Plugin for PokeBot that performs moderation actions.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the Open Software License version 3.0
*
* *************************************/
diff --git a/commands/Moderation/purge.js b/commands/Moderation/purge.js
index 256dca8..6ce557c 100644
--- a/commands/Moderation/purge.js
+++ b/commands/Moderation/purge.js
@@ -3,18 +3,7 @@
* Purge: Plugin for PokeBot that performs moderation actions.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the Open Software License version 3.0
*
* *************************************/
diff --git a/commands/Moderation/setLogs.js b/commands/Moderation/setLogs.js
index a354085..8ae50ea 100644
--- a/commands/Moderation/setLogs.js
+++ b/commands/Moderation/setLogs.js
@@ -3,18 +3,7 @@
* Set Log: Plugin for PokeBot that performs moderation actions.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the Open Software License version 3.0
*
* *************************************/
diff --git a/commands/Moderation/setSuggestions.js b/commands/Moderation/setSuggestions.js
index 2fcd880..2a9d1bd 100644
--- a/commands/Moderation/setSuggestions.js
+++ b/commands/Moderation/setSuggestions.js
@@ -3,35 +3,23 @@
* Set Suggestions: Plugin for PokeBot that performs moderation actions.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the Open Software License version 3.0
*
* *************************************/
exports.run = async (bot, msg, args) => {
- if (!msg.member.hasPermission('MANAGE_MESSAGES')) return msg.reply('You don\'t have permission to manage messages.');
- bot.plugins.settings.setStr('suggestions', args[0], msg.guild.id);
- msg.reply('Alright, I have set the suggestions channel to ' + args[0]);
- };
-
- exports.conf = {
- aliases: [],
- guildOnly: true,
- };
-
- exports.help = {
- name: 'setSuggestions',
- description: 'Set\'s the Suggestions Channel.',
- usage: '<channelID>',
- };
- \ No newline at end of file
+ if (!msg.member.hasPermission('MANAGE_MESSAGES')) return msg.reply('You don\'t have permission to manage messages.');
+ bot.plugins.settings.setStr('suggestions', args[0], msg.guild.id);
+ msg.reply('Alright, I have set the suggestions channel to ' + args[0]);
+};
+
+exports.conf = {
+ aliases: [],
+ guildOnly: true,
+};
+
+exports.help = {
+ name: 'setSuggestions',
+ description: 'Set\'s the Suggestions Channel.',
+ usage: '<channelID>',
+};
diff --git a/commands/Moderation/softban.js b/commands/Moderation/softban.js
index 2db58ec..a97f8a6 100644
--- a/commands/Moderation/softban.js
+++ b/commands/Moderation/softban.js
@@ -3,18 +3,7 @@
* SoftBan: Plugin for PokeBot that performs moderation actions.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the Open Software License version 3.0
*
* *************************************/
diff --git a/commands/Moderation/timeout.js b/commands/Moderation/timeout.js
index af9c713..2e479ac 100644
--- a/commands/Moderation/timeout.js
+++ b/commands/Moderation/timeout.js
@@ -3,18 +3,7 @@
* Time Out: Plugin for PokeBot that punishes bad boys..
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the Open Software License version 3.0
*
* *************************************/
diff --git a/commands/Moderation/warn.js b/commands/Moderation/warn.js
index 2599c0f..1dd0410 100644
--- a/commands/Moderation/warn.js
+++ b/commands/Moderation/warn.js
@@ -3,18 +3,7 @@
* Warn: Plugin for PokeBot that performs moderation actions.
* Copyright (C) 2018 TheEdge, jtsshieh, Alee
*
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ * Licensed under the Open Software License version 3.0
*
* *************************************/