aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Plugins/Music.js13
-rw-r--r--Plugins/economy.js13
-rw-r--r--Plugins/settings.js13
-rw-r--r--Plugins/whitelist.js13
-rw-r--r--canvas@2.0.0-alpha.110
-rw-r--r--cd0
-rw-r--r--commands/Fun/8ball.js13
-rw-r--r--commands/Fun/balance.js13
-rw-r--r--commands/Fun/cureboredom.js13
-rw-r--r--commands/Fun/findmyphone.js13
-rw-r--r--commands/Fun/getcredits.js13
-rw-r--r--commands/Fun/og151.js13
-rw-r--r--commands/Fun/ship.js13
-rw-r--r--commands/Fun/slots.js13
-rw-r--r--commands/Fun/story.js13
-rw-r--r--commands/Getting Started/contribute.js13
-rw-r--r--commands/Getting Started/help.js13
-rw-r--r--commands/Getting Started/ping.js13
-rw-r--r--commands/Getting Started/start.js13
-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
-rw-r--r--commands/Music/play.js13
-rw-r--r--commands/Music/skip.js13
-rw-r--r--commands/Owners Only/eval.js13
-rw-r--r--commands/Owners Only/modifycredits.js13
-rw-r--r--commands/Owners Only/poweroff.js13
-rw-r--r--commands/Owners Only/say.js13
-rw-r--r--commands/Owners Only/testingcredits.js13
-rw-r--r--commands/Owners Only/triggeregg.js13
-rw-r--r--commands/Pokemon/claim.js13
-rw-r--r--commands/Pokemon/drop.js13
-rw-r--r--commands/Pokemon/forcedrop.js13
-rw-r--r--commands/Pokemon/join.js13
-rw-r--r--commands/Pokemon/leave.js13
-rw-r--r--commands/Pokemon/lsitem.js13
-rw-r--r--commands/Pokemon/tradegym.js13
-rw-r--r--commands/Utility/character.js15
-rw-r--r--commands/Utility/git.js38
-rw-r--r--commands/Utility/invite.js18
-rw-r--r--commands/Utility/nick.js13
-rw-r--r--commands/Utility/suggest.js13
-rw-r--r--commands/Utility/uptime.js13
-rw-r--r--commands/Utility/userinfo.js13
-rw-r--r--events/channelCreate.js13
-rw-r--r--events/guildMemberAdd.js13
-rw-r--r--events/guildMemberRemove.js13
-rw-r--r--events/message.js13
-rw-r--r--events/messageDelete.js15
-rw-r--r--events/messageDeleteBulk.js15
-rw-r--r--events/messageUpdate.js15
-rw-r--r--events/ready.js13
-rw-r--r--ls0
-rw-r--r--node-pre-gyp0
-rw-r--r--npm0
-rw-r--r--test.js72
64 files changed, 91 insertions, 804 deletions
diff --git a/Plugins/Music.js b/Plugins/Music.js
index 25164b7..2dbabda 100644
--- a/Plugins/Music.js
+++ b/Plugins/Music.js
@@ -3,18 +3,7 @@
* Music: Plugin for PokeBot that interacts with the Lavalink API.
* 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/Plugins/economy.js b/Plugins/economy.js
index aa0bb24..3658ce8 100644
--- a/Plugins/economy.js
+++ b/Plugins/economy.js
@@ -3,18 +3,7 @@
* Economy: Plugin for PokeBot that enables economy features.
* 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/Plugins/settings.js b/Plugins/settings.js
index d458c9c..bfa15d5 100644
--- a/Plugins/settings.js
+++ b/Plugins/settings.js
@@ -3,18 +3,7 @@
* Settings: Plugin for PokeBot that enables settings features.
* 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/Plugins/whitelist.js b/Plugins/whitelist.js
index ff102aa..41b4398 100644
--- a/Plugins/whitelist.js
+++ b/Plugins/whitelist.js
@@ -3,18 +3,7 @@
* Whittelist: Plugin for PokeBot that let's the owners whitelist servers.
* 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/canvas@2.0.0-alpha.11 b/canvas@2.0.0-alpha.11
deleted file mode 100644
index e69de29..0000000
--- a/canvas@2.0.0-alpha.11
+++ /dev/null
diff --git a/cd b/cd
deleted file mode 100644
index e69de29..0000000
--- a/cd
+++ /dev/null
diff --git a/commands/Fun/8ball.js b/commands/Fun/8ball.js
index 16d5d24..48f53e0 100644
--- a/commands/Fun/8ball.js
+++ b/commands/Fun/8ball.js
@@ -3,18 +3,7 @@
* 8ball: Plugin for PokeBot that allows users to use an 8ball.
* 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/Fun/balance.js b/commands/Fun/balance.js
index 6bfd2b0..afe094e 100644
--- a/commands/Fun/balance.js
+++ b/commands/Fun/balance.js
@@ -3,18 +3,7 @@
* Get Credits: Plugin for PokeBot that gives you credits.
* 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/Fun/cureboredom.js b/commands/Fun/cureboredom.js
index 1b7913c..4b99406 100644
--- a/commands/Fun/cureboredom.js
+++ b/commands/Fun/cureboredom.js
@@ -3,18 +3,7 @@
* CureBoredom: Plugin for PokeBot that "cures" your boredom.
* 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/Fun/findmyphone.js b/commands/Fun/findmyphone.js
index 1575917..135d449 100644
--- a/commands/Fun/findmyphone.js
+++ b/commands/Fun/findmyphone.js
@@ -3,18 +3,7 @@
* FindMyPhone: Plugin for PokeBot that "helps you find your phone".
* 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/Fun/getcredits.js b/commands/Fun/getcredits.js
index f52ee38..1d8b79b 100644
--- a/commands/Fun/getcredits.js
+++ b/commands/Fun/getcredits.js
@@ -3,18 +3,7 @@
* Get Credits: Plugin for PokeBot that gives you credits.
* 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
*
* *************************************/
const commandCooldown = new Set();
diff --git a/commands/Fun/og151.js b/commands/Fun/og151.js
index aa9a288..d2b3ccf 100644
--- a/commands/Fun/og151.js
+++ b/commands/Fun/og151.js
@@ -3,18 +3,7 @@
* og151: Plugin for PokeBot that randomly picks 1 out of the original 151 Pokemon.
* 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/Fun/ship.js b/commands/Fun/ship.js
index fdf9e3e..ba31db5 100644
--- a/commands/Fun/ship.js
+++ b/commands/Fun/ship.js
@@ -3,18 +3,7 @@
* Ship: Plugin for PokeBot that ships the user with someone else.
* 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/Fun/slots.js b/commands/Fun/slots.js
index b3295b4..ddd6757 100644
--- a/commands/Fun/slots.js
+++ b/commands/Fun/slots.js
@@ -3,18 +3,7 @@
* Slots: Plugin for PokeBot that allows you to gamble.
* 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/>.
+ * TLicensed under the Open Software License version 3.0
*
* *************************************/
diff --git a/commands/Fun/story.js b/commands/Fun/story.js
index 538bade..c35e3e7 100644
--- a/commands/Fun/story.js
+++ b/commands/Fun/story.js
@@ -3,18 +3,7 @@
* Story: Plugin for PokeBot that tells the user a story.
* 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/Getting Started/contribute.js b/commands/Getting Started/contribute.js
index 0e1ae82..2530058 100644
--- a/commands/Getting Started/contribute.js
+++ b/commands/Getting Started/contribute.js
@@ -3,18 +3,7 @@
* Contribute: Plugin for PokeBot that redirects users to the proper place to contribute.
* 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/Getting Started/help.js b/commands/Getting Started/help.js
index 457e6ec..94a2128 100644
--- a/commands/Getting Started/help.js
+++ b/commands/Getting Started/help.js
@@ -3,18 +3,7 @@
* Help: Plugin for PokeBot that guides the user on how to use the bot.
* 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/Getting Started/ping.js b/commands/Getting Started/ping.js
index 3de0479..365c9f4 100644
--- a/commands/Getting Started/ping.js
+++ b/commands/Getting Started/ping.js
@@ -3,18 +3,7 @@
* Ping: Plugin for PokeBot that provides diagnostic information.
* 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/Getting Started/start.js b/commands/Getting Started/start.js
index c31ff1c..9da8be7 100644
--- a/commands/Getting Started/start.js
+++ b/commands/Getting Started/start.js
@@ -3,18 +3,7 @@
* GettingStarted: Plugin for PokeBot that guides the user on how to start a journey.
* 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/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
*
* *************************************/
diff --git a/commands/Music/play.js b/commands/Music/play.js
index cd22057..c494ea2 100644
--- a/commands/Music/play.js
+++ b/commands/Music/play.js
@@ -3,18 +3,7 @@
* Play: Plugin for PokeBot that performs music player 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/Music/skip.js b/commands/Music/skip.js
index 09ab165..96cecf6 100644
--- a/commands/Music/skip.js
+++ b/commands/Music/skip.js
@@ -3,18 +3,7 @@
* Skip: Plugin for PokeBot that performs music player 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/Owners Only/eval.js b/commands/Owners Only/eval.js
index a6a6916..09aac08 100644
--- a/commands/Owners Only/eval.js
+++ b/commands/Owners Only/eval.js
@@ -3,18 +3,7 @@
* Eval / Exec: Plugin for PokeBot that provides diagnostic information.
* 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/Owners Only/modifycredits.js b/commands/Owners Only/modifycredits.js
index 69da668..6401d85 100644
--- a/commands/Owners Only/modifycredits.js
+++ b/commands/Owners Only/modifycredits.js
@@ -3,18 +3,7 @@
* Modify Credits: Plugin for PokeBot that modifies economy features.
* 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/Owners Only/poweroff.js b/commands/Owners Only/poweroff.js
index 0facc66..4bd7f75 100644
--- a/commands/Owners Only/poweroff.js
+++ b/commands/Owners Only/poweroff.js
@@ -3,18 +3,7 @@
* Poweroff: Plugin for PokeBot that remotely exits the process.
* 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/Owners Only/say.js b/commands/Owners Only/say.js
index 95f6c53..3085d53 100644
--- a/commands/Owners Only/say.js
+++ b/commands/Owners Only/say.js
@@ -3,18 +3,7 @@
* Say: Plugin for PokeBot that sends a message with the provided content.
* 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/Owners Only/testingcredits.js b/commands/Owners Only/testingcredits.js
index 01d4934..bee93b2 100644
--- a/commands/Owners Only/testingcredits.js
+++ b/commands/Owners Only/testingcredits.js
@@ -3,18 +3,7 @@
* Testing Credits: Plugin for PokeBot that modifies economy features.
* 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/Owners Only/triggeregg.js b/commands/Owners Only/triggeregg.js
index 45da516..c65c539 100644
--- a/commands/Owners Only/triggeregg.js
+++ b/commands/Owners Only/triggeregg.js
@@ -3,18 +3,7 @@
* TriggerEgg: Plugin for PokeBot that manages community events.
* 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/Pokemon/claim.js b/commands/Pokemon/claim.js
index 1d2f881..9bba3ec 100644
--- a/commands/Pokemon/claim.js
+++ b/commands/Pokemon/claim.js
@@ -3,18 +3,7 @@
* Claim: Plugin for PokeBot that powers the PokeWorld gym system.
* 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/Pokemon/drop.js b/commands/Pokemon/drop.js
index fb58184..3b2bf97 100644
--- a/commands/Pokemon/drop.js
+++ b/commands/Pokemon/drop.js
@@ -3,18 +3,7 @@
* Drop: Plugin for PokeBot that powers the PokeWorld gym system.
* 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/Pokemon/forcedrop.js b/commands/Pokemon/forcedrop.js
index 4f6003b..50a9acf 100644
--- a/commands/Pokemon/forcedrop.js
+++ b/commands/Pokemon/forcedrop.js
@@ -3,18 +3,7 @@
* Ban: Plugin for PokeBot that powers the PokeWorld gym system.
* 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/Pokemon/join.js b/commands/Pokemon/join.js
index 09b5e11..91c6c7e 100644
--- a/commands/Pokemon/join.js
+++ b/commands/Pokemon/join.js
@@ -3,18 +3,7 @@
* Join: Plugin for PokeBot that powers the PokeWorld team system.
* 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/Pokemon/leave.js b/commands/Pokemon/leave.js
index 24405cf..813debe 100644
--- a/commands/Pokemon/leave.js
+++ b/commands/Pokemon/leave.js
@@ -3,18 +3,7 @@
* Leave: Plugin for PokeBot that powers the PokeWorld team system.
* 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/Pokemon/lsitem.js b/commands/Pokemon/lsitem.js
index fad8bb3..dd628ae 100644
--- a/commands/Pokemon/lsitem.js
+++ b/commands/Pokemon/lsitem.js
@@ -3,18 +3,7 @@
* LSItem: Plugin for lists an item for sale in the marketplace
* 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/Pokemon/tradegym.js b/commands/Pokemon/tradegym.js
index f38d2ab..e195b62 100644
--- a/commands/Pokemon/tradegym.js
+++ b/commands/Pokemon/tradegym.js
@@ -3,18 +3,7 @@
* TradeGym: Plugin for PokeBot that powers the PokeWorld gym system.
* 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/Utility/character.js b/commands/Utility/character.js
index 603571b..56d9bfb 100644
--- a/commands/Utility/character.js
+++ b/commands/Utility/character.js
@@ -1,20 +1,9 @@
/** **************************************
*
- * Suggest: Plugin for PokeBot that allows users to suggest things.
+ * Character: Plugin for PokeBot that examines unicode character further.
* 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/Utility/git.js b/commands/Utility/git.js
index a648995..f5113a2 100644
--- a/commands/Utility/git.js
+++ b/commands/Utility/git.js
@@ -3,32 +3,20 @@
* Git: Plugin for PokeBot that provides gives the user information about the bot.
* 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 = (bot, msg) => {
- msg.channel.send('The GitHub page for PokeBot can be found here: https://github.com/PokeWorld/PokeBot');
- };
-
- exports.conf = {
- aliases: [],
- guildOnly: true,
- };
-
- exports.help = {
- name: 'git',
- description: 'Gives the user a link to the git.',
- };
- \ No newline at end of file
+ msg.channel.send('The GitHub page for PokeBot can be found here: https://github.com/PokeWorld/PokeBot');
+};
+
+exports.conf = {
+ aliases: [],
+ guildOnly: true,
+};
+
+exports.help = {
+ name: 'git',
+ description: 'Gives the user a link to the git.',
+};
diff --git a/commands/Utility/invite.js b/commands/Utility/invite.js
index e602649..933e9ba 100644
--- a/commands/Utility/invite.js
+++ b/commands/Utility/invite.js
@@ -3,32 +3,20 @@
* Invite: Plugin for PokeBot that provides gives the user information about the bot.
* 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 = (bot, msg) => {
msg.channel.send('You can invite me by visiting https://discordbots.org/bot/417096530596724737.');
};
-
+
exports.conf = {
aliases: [],
guildOnly: true,
};
-
+
exports.help = {
name: 'invite',
description: 'Gives the user a link to invite the bot.',
};
- \ No newline at end of file
diff --git a/commands/Utility/nick.js b/commands/Utility/nick.js
index 9701a3c..44ab7f5 100644
--- a/commands/Utility/nick.js
+++ b/commands/Utility/nick.js
@@ -3,18 +3,7 @@
* Nick: Plugin for PokeBot that changes the user's display name.
* 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/Utility/suggest.js b/commands/Utility/suggest.js
index fae35db..f1b4206 100644
--- a/commands/Utility/suggest.js
+++ b/commands/Utility/suggest.js
@@ -3,18 +3,7 @@
* Suggest: Plugin for PokeBot that allows users to suggest things.
* 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/Utility/uptime.js b/commands/Utility/uptime.js
index 86ae84d..8492df2 100644
--- a/commands/Utility/uptime.js
+++ b/commands/Utility/uptime.js
@@ -3,18 +3,7 @@
* Uptime: Plugin for PokeBot that provides diagnostic information.
* 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/Utility/userinfo.js b/commands/Utility/userinfo.js
index 9716021..80844e1 100644
--- a/commands/Utility/userinfo.js
+++ b/commands/Utility/userinfo.js
@@ -3,18 +3,7 @@
* UserInfo: Plugin for PokeBot that gives the user information about themselves or another user.
* 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/events/channelCreate.js b/events/channelCreate.js
index 9dce088..339a3b5 100644
--- a/events/channelCreate.js
+++ b/events/channelCreate.js
@@ -3,18 +3,7 @@
* ChannelCreate: Plugin for PokeBot that setups gyms when they are created.
* 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/events/guildMemberAdd.js b/events/guildMemberAdd.js
index 57ff757..63081b1 100644
--- a/events/guildMemberAdd.js
+++ b/events/guildMemberAdd.js
@@ -3,18 +3,7 @@
* GuildMemberAdd: Plugin for PokeBot that setups up and welcomes any new user.
* 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/events/guildMemberRemove.js b/events/guildMemberRemove.js
index 9d38180..001f2ec 100644
--- a/events/guildMemberRemove.js
+++ b/events/guildMemberRemove.js
@@ -3,18 +3,7 @@
* GuildMemberRemove: Plugin for PokeBot that waves bye to a user who leaves.
* 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/events/message.js b/events/message.js
index 4154536..238d95e 100644
--- a/events/message.js
+++ b/events/message.js
@@ -3,18 +3,7 @@
* Message/CommandHandler: Plugin for PokeBot that processes and parses command.
* 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/events/messageDelete.js b/events/messageDelete.js
index 2823e7f..95c3718 100644
--- a/events/messageDelete.js
+++ b/events/messageDelete.js
@@ -1,20 +1,9 @@
/** **************************************
*
- * messageDelete: Plugin for PokeBot that handles deleted messages.
+ * MessageDelete: Plugin for PokeBot that handles deleted messages.
* 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/events/messageDeleteBulk.js b/events/messageDeleteBulk.js
index 0d0c345..3d84e4d 100644
--- a/events/messageDeleteBulk.js
+++ b/events/messageDeleteBulk.js
@@ -1,20 +1,9 @@
/** **************************************
*
- * messagesDeleteBulk: Plugin for PokeBot that handles many messages being deleted at once.
+ * MessagesDeleteBulk: Plugin for PokeBot that handles many messages being deleted at once.
* 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/events/messageUpdate.js b/events/messageUpdate.js
index ed0565b..0baa08c 100644
--- a/events/messageUpdate.js
+++ b/events/messageUpdate.js
@@ -1,20 +1,9 @@
/** **************************************
*
- * messageUpdate: Plugin for PokeBot that handles edited messages.
+ * MessageUpdate: Plugin for PokeBot that handles edited messages.
* 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/events/ready.js b/events/ready.js
index 8b7a61b..9c30717 100644
--- a/events/ready.js
+++ b/events/ready.js
@@ -3,18 +3,7 @@
* Ready: Plugin for PokeBot that setups up pokebot for production.
* 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/ls b/ls
deleted file mode 100644
index e69de29..0000000
--- a/ls
+++ /dev/null
diff --git a/node-pre-gyp b/node-pre-gyp
deleted file mode 100644
index e69de29..0000000
--- a/node-pre-gyp
+++ /dev/null
diff --git a/npm b/npm
deleted file mode 100644
index e69de29..0000000
--- a/npm
+++ /dev/null
diff --git a/test.js b/test.js
deleted file mode 100644
index 69b8e71..0000000
--- a/test.js
+++ /dev/null
@@ -1,72 +0,0 @@
-const Discord = require('discord.js');
-const bot = new Discord.Client();
-const fs = require('fs');
-
-bot.commands = new Discord.Collection();
-bot.aliases = new Discord.Collection();
-bot.categories = new Discord.Collection();
-bot.queue = new Discord.Collection();
-bot.plugins = { music : require('./Plugins/Music.js') };
-cmdLoader();
-
-async function cmdLoader() {
- const categories = await fs.readdirSync('./commands');
- console.log(`Loading ${categories.length} categories(s) into memory\n`);
- categories.forEach(x => {
- loadGroup(x);
- });
-}
-async function loadGroup(name) {
- const files = await fs.readdirSync(`./commands/${name}`);
-
- console.log(`Loading the category '${name}' into memory with a total of ${files.length} command(s)`);
-
- bot.commands.set(name, new Map());
- bot.aliases.set(name, new Map());
-
- const commands = [];
- files.forEach(x => {
- loadCmd(name, x);
- commands.push(x.split('.')[0]);
- });
-
- bot.categories.set(name, commands);
- console.log(`The category ${name} has been loaded.\n`);
-}
-
-async function loadCmd(category, cmd) {
- try {
- console.log(`Loading the Command ${cmd.split('.')[0]}`);
- const command = require(`./commands/${category}/${cmd}`);
- bot.commands.get(category).set(command.help.name, command);
- command.conf.aliases.forEach(alias => {
- console.log(`Loading the alias ${alias} for the command ${command.help.name}`);
- bot.aliases.get(category).set(alias, command.help.name);
- });
- }
- catch (err) {
- console.log(`An error has occured trying to load the command '${cmd.split('.')[0]}'`);
- console.log(err.stack);
- }
-}
-
-
-fs.readdir('./events', (err, files) => {
- if (err) console.error(err);
- console.log(`Attempting to load a total of ${files.length} events into the memory.`);
- files.forEach(file => {
- try {
- const eventName = file.split('.')[0];
- const event = require(`./events/${file}`);
- console.log(`Attempting to load the event "${eventName}".`);
- bot.on(eventName, event.bind(null, bot));
- delete require.cache[require.resolve(`./events/${file}`)];
- }
- catch (err) {
- console.log('An error has occured trying to load a event. Here is the error.');
- console.log(err.stack);
- }
- });
- console.log('Event Loading complete!');
- console.log('\n');
-});