Permalink
Browse files

Quick fix for the Marriage command

  • Loading branch information...
Alcha committed Sep 24, 2018
1 parent 5f52791 commit 35c7b8340e30226845e97035596cd2f7001fd0c9
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmds/util/Marriage.js
@@ -107,7 +107,7 @@ class Marriage {
getProposalResponse (channel, userId, timeout = 60) {
return new Promise((resolve, reject) => {
const collector = channel.createMessageCollector(m =>
m.member.id === userId && m.channel.id === channel.id, { time: timeout * 1000 }
m.author.id === userId && m.channel.id === channel.id, { time: timeout * 1000 }
)

// When a message is collected, determine if it is a yes or no

0 comments on commit 35c7b83

Please sign in to comment.