aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-rw-r--r--commands/Owners Only/triggeregg.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/Owners Only/triggeregg.js b/commands/Owners Only/triggeregg.js
index e99b1b3..8e0ee63 100644
--- a/commands/Owners Only/triggeregg.js
+++ b/commands/Owners Only/triggeregg.js
@@ -27,8 +27,8 @@ exports.run = async (bot, msg) => {
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...*');
}
else {
- const gym = msg.guild.channels.find('id', '417138941880434699').children.random().name;
- msg.guild.channels.find('name', 'pokeegghunt').send(':egg: **An egg is available!** *Someone needs to battle for it though...* Go to <#' + gym + '> to get it. In 5 minutes, the person holding the gym gets the egg!');
+ const gym = msg.guild.channels.find('id', '417138941880434699').children.random();
+ 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!');
}
}
};