aboutsummaryrefslogtreecommitdiff
path: root/commands
diff options
context:
space:
mode:
Diffstat (limited to 'commands')
-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;