diff options
| author | Trey <trey6979@gmail.com> | 2018-04-16 19:37:05 -0400 |
|---|---|---|
| committer | Trey <trey6979@gmail.com> | 2018-04-16 19:37:05 -0400 |
| commit | 3543715ea879709f082137f998dafc9f9d88b2c8 (patch) | |
| tree | 421aaf2eda633cbac036401fa63c2abed283b767 /commands/Owners Only | |
| parent | ade1acf708b854d62cd595ee2bf434fbed971024 (diff) | |
| download | PokeBot-3543715ea879709f082137f998dafc9f9d88b2c8.tar.gz PokeBot-3543715ea879709f082137f998dafc9f9d88b2c8.tar.bz2 PokeBot-3543715ea879709f082137f998dafc9f9d88b2c8.zip | |
alottathings
Diffstat (limited to 'commands/Owners Only')
| -rw-r--r-- | commands/Owners Only/triggeregg.js | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/commands/Owners Only/triggeregg.js b/commands/Owners Only/triggeregg.js deleted file mode 100644 index c65c539..0000000 --- a/commands/Owners Only/triggeregg.js +++ /dev/null @@ -1,35 +0,0 @@ -/** ************************************** - * - * TriggerEgg: Plugin for PokeBot that manages community events. - * Copyright (C) 2018 TheEdge, jtsshieh, Alee - * - * Licensed under the Open Software License version 3.0 - * - * *************************************/ - -exports.run = async (bot, msg) => { - if (!['242775871059001344', '247221105515823104', '236279900728721409', '269516487566426112'].includes(msg.author.id)) { - msg.reply('Nope! You need the person who created this bot to use this command.'); - } - else { - if (Math.random() > 0.5) { - msg.channel.send(':egg: **Egg with regular battle sequence sent!**'); - msg.guild.channels.find('name', 'pokeegghunt').send(':egg: **An egg is available!** First two people to type egg gets to battle!'); - } - else { - const gym = msg.guild.channels.find('id', '417138941880434699').children.random(); - msg.channel.send(':egg: **Egg sent with gym battle sequence cent!**'); - msg.guild.channels.find('name', 'pokeegghunt').send(':egg: **An egg is available!** *Someone needs to battle for it though...* Go to <#' + gym.id + '> to get it. In 5 minutes, the person holding the gym gets the egg!'); - } - } -}; - -exports.conf = { - aliases: [], - guildOnly: true, -}; - -exports.help = { - name: 'triggeregg', - description: 'Sends an egg out for players to collect', -}; |
