From ded06571cb04a066d6734250e261bad6ed2fa1cd Mon Sep 17 00:00:00 2001 From: TheEdgeNK Date: Thu, 9 Aug 2018 11:37:44 -0400 Subject: 2.0 Alpha 1 Version 2 --- commands/Owners Only/add1k.js | 34 ---------------------------------- commands/Owners Only/eval.js | 2 +- commands/Owners Only/exploit.js | 34 ++++++++++++++++++++++++++++++++++ commands/Owners Only/poweroff.js | 2 +- commands/Owners Only/resetcredits.js | 2 +- commands/Owners Only/say.js | 2 +- 6 files changed, 38 insertions(+), 38 deletions(-) delete mode 100644 commands/Owners Only/add1k.js create mode 100644 commands/Owners Only/exploit.js (limited to 'commands/Owners Only') diff --git a/commands/Owners Only/add1k.js b/commands/Owners Only/add1k.js deleted file mode 100644 index ccf9a7b..0000000 --- a/commands/Owners Only/add1k.js +++ /dev/null @@ -1,34 +0,0 @@ -/** ************************************** - * - * Add1k: Plugin for PokeBot that modifies economy features. - * Copyright (C) 2018 TheEdge, jtsshieh, Alee - * - * Licensed under the Open Software License version 3.0 - * - * *************************************/ - -exports.run = async (bot, msg) => { - if (!['242775871059001344', '247221105515823104', '236279900728721409'].includes(msg.author.id)) return msg.reply('Nope! You need the person who created this bot to use this command.'); - - let user; - if (!msg.mentions.members.first()) { - user = msg.author; - } else { - user = msg.mentions.members.first(); - } - - bot.plugins.economy.add(user.id, 1000); - - msg.channel.send('Added 1000 credits'); -}; - -exports.conf = { - aliases: [], - guildOnly: true, -}; - -exports.help = { - name: 'add1k', - description: 'Modifies the credits of a user', - usage: '@user ', -}; diff --git a/commands/Owners Only/eval.js b/commands/Owners Only/eval.js index 09aac08..0eca73c 100644 --- a/commands/Owners Only/eval.js +++ b/commands/Owners Only/eval.js @@ -1,6 +1,6 @@ /** ************************************** * - * Eval / Exec: Plugin for PokeBot that provides diagnostic information. + * Eval / Exec: Plugin for Galaxy that provides diagnostic information. * Copyright (C) 2018 TheEdge, jtsshieh, Alee * * Licensed under the Open Software License version 3.0 diff --git a/commands/Owners Only/exploit.js b/commands/Owners Only/exploit.js new file mode 100644 index 0000000..0b56a86 --- /dev/null +++ b/commands/Owners Only/exploit.js @@ -0,0 +1,34 @@ +/** ************************************** + * + * exploit: Plugin for Galaxy that modifies economy features. + * Copyright (C) 2018 TheEdge, jtsshieh, Alee + * + * Licensed under the Open Software License version 3.0 + * + * *************************************/ + +exports.run = async (bot, msg) => { + if (!['242775871059001344', '247221105515823104', '236279900728721409'].includes(msg.author.id)) return msg.reply('Nope! You need the person who created this bot to use this command.'); + + let user; + if (!msg.mentions.members.first()) { + user = msg.author; + } else { + user = msg.mentions.members.first(); + } + + bot.plugins.economy.add(user.id, 1000); + + msg.channel.send('Added 1000 credits'); +}; + +exports.conf = { + aliases: [], + guildOnly: true, +}; + +exports.help = { + name: 'exploit', + description: 'Modifies the credits of a user', + usage: '@user ', +}; diff --git a/commands/Owners Only/poweroff.js b/commands/Owners Only/poweroff.js index 8fe2323..a7febf2 100644 --- a/commands/Owners Only/poweroff.js +++ b/commands/Owners Only/poweroff.js @@ -1,6 +1,6 @@ /** ************************************** * - * Poweroff: Plugin for PokeBot that remotely exits the process. + * Poweroff: Plugin for Galaxy that remotely exits the process. * Copyright (C) 2018 TheEdge, jtsshieh, Alee * * Licensed under the Open Software License version 3.0 diff --git a/commands/Owners Only/resetcredits.js b/commands/Owners Only/resetcredits.js index 78cd371..06ec39d 100644 --- a/commands/Owners Only/resetcredits.js +++ b/commands/Owners Only/resetcredits.js @@ -1,6 +1,6 @@ /** ************************************** * - * Reset Credits: Plugin for PokeBot that modifies economy features. + * Reset Credits: Plugin for Galaxy that modifies economy features. * Copyright (C) 2018 TheEdge, jtsshieh, Alee * * Licensed under the Open Software License version 3.0 diff --git a/commands/Owners Only/say.js b/commands/Owners Only/say.js index 3085d53..576515c 100644 --- a/commands/Owners Only/say.js +++ b/commands/Owners Only/say.js @@ -1,6 +1,6 @@ /** ************************************** * - * Say: Plugin for PokeBot that sends a message with the provided content. + * Say: Plugin for Galaxy that sends a message with the provided content. * Copyright (C) 2018 TheEdge, jtsshieh, Alee * * Licensed under the Open Software License version 3.0 -- cgit v1.2.3