diff options
| author | Alee <alee14498@gmail.com> | 2018-02-24 14:18:27 -0500 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-02-24 14:18:27 -0500 |
| commit | 99bab67446040f0df8087ba49b4a418e50a124e9 (patch) | |
| tree | d35e95859be7481af4966e24c1f15d7673acc4e5 | |
| parent | 4c59b0713c54e235cdb294416876f730328342b8 (diff) | |
| download | PokeBot-99bab67446040f0df8087ba49b4a418e50a124e9.tar.gz PokeBot-99bab67446040f0df8087ba49b4a418e50a124e9.tar.bz2 PokeBot-99bab67446040f0df8087ba49b4a418e50a124e9.zip | |
More fixes
| -rw-r--r-- | commands/story.js | 2 |
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; |
