From 99bab67446040f0df8087ba49b4a418e50a124e9 Mon Sep 17 00:00:00 2001 From: Alee Date: Sat, 24 Feb 2018 14:18:27 -0500 Subject: More fixes --- commands/story.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands') 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; -- cgit v1.2.3