aboutsummaryrefslogtreecommitdiff
path: root/commands/Owners Only
diff options
context:
space:
mode:
authorTrey <trey6979@gmail.com>2018-04-06 13:37:22 -0400
committerTrey <trey6979@gmail.com>2018-04-06 13:37:22 -0400
commit20b860bb2299d4a45aa9899fcab2b340cbe9a0b5 (patch)
tree4022b84287f9df17854947a6f6ae98665719f209 /commands/Owners Only
parentb85b686829798f29f5f19fe919ae8807ef9ad69c (diff)
parente39d116465334ce84ee06267e8defb6007dddf22 (diff)
downloadPokeBot-20b860bb2299d4a45aa9899fcab2b340cbe9a0b5.tar.gz
PokeBot-20b860bb2299d4a45aa9899fcab2b340cbe9a0b5.tar.bz2
PokeBot-20b860bb2299d4a45aa9899fcab2b340cbe9a0b5.zip
Merge branch 'master' of https://github.com/PokeWorld/PokeBot
Diffstat (limited to 'commands/Owners Only')
-rw-r--r--commands/Owners Only/eval.js13
-rw-r--r--commands/Owners Only/modifycredits.js15
-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
6 files changed, 7 insertions, 73 deletions
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..050d74d 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
*
* *************************************/
@@ -28,7 +17,7 @@ exports.run = async (bot, msg) => {
user = msg.mentions.users.first();
}
- var oldbal = bot.plugins.economy.get(user.id);
+ const oldbal = bot.plugins.economy.get(user.id);
bot.plugins.economy.subtract(user.id, oldbal);
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
*
* *************************************/