aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
authortrey6979 <trey6979@gmail.com>2018-03-23 15:01:02 -0400
committertrey6979 <trey6979@gmail.com>2018-03-23 15:01:02 -0400
commit8a3e33ea135b68256e9b59a12740e4b5eee9e77c (patch)
tree3c2111105d1433aabaac9acbe696a33437cc2c31 /commands
parentd2c0e7546ef3ff412ab1f9509248a177dd8319f4 (diff)
downloadPokeBot-8a3e33ea135b68256e9b59a12740e4b5eee9e77c.tar.gz
PokeBot-8a3e33ea135b68256e9b59a12740e4b5eee9e77c.tar.bz2
PokeBot-8a3e33ea135b68256e9b59a12740e4b5eee9e77c.zip
still learning git commandline
Diffstat (limited to 'commands')
-rw-r--r--commands/Owners Only/triggeregg.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/commands/Owners Only/triggeregg.js b/commands/Owners Only/triggeregg.js
index 8e0ee63..74e2403 100644
--- a/commands/Owners Only/triggeregg.js
+++ b/commands/Owners Only/triggeregg.js
@@ -24,10 +24,12 @@ exports.run = async (bot, msg) => {
}
else {
if (Math.random() > 0.5) {
- msg.guild.channels.find('name', 'pokeegghunt').send(':egg: **An egg is available!** First two people to type egg gets to battle! *Someone needs to battle for it though...*');
+ 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!');
}
}