aboutsummaryrefslogtreecommitdiff
path: root/commands/story.js
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-02-24 14:18:27 -0500
committerAlee <alee14498@gmail.com>2018-02-24 14:18:27 -0500
commit99bab67446040f0df8087ba49b4a418e50a124e9 (patch)
treed35e95859be7481af4966e24c1f15d7673acc4e5 /commands/story.js
parent4c59b0713c54e235cdb294416876f730328342b8 (diff)
downloadPokeBot-99bab67446040f0df8087ba49b4a418e50a124e9.tar.gz
PokeBot-99bab67446040f0df8087ba49b4a418e50a124e9.tar.bz2
PokeBot-99bab67446040f0df8087ba49b4a418e50a124e9.zip
More fixes
Diffstat (limited to 'commands/story.js')
-rw-r--r--commands/story.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/story.js b/commands/story.js
index 6ee0b06..ac36981 100644
--- a/commands/story.js
+++ b/commands/story.js
@@ -1,5 +1,5 @@
exports.run = async (bot, msg, args) => {
- message.guild.fetchMembers().then(guild =>
+ msg.guild.fetchMembers().then(guild =>
{
membersList = guild.members.array();
let selectedUser1 = membersList[Math.floor(Math.random() * membersList.length)].user;