Skip to content

Commit

Permalink
Fix undefined var
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwofford committed Sep 18, 2019
1 parent c234388 commit 981cc1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/interactions/leaderAdd.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const interactionLeaderAdd = (bot, message) => {
}

if (!commandUser.club.fields['Slack Channel ID'] != channel) {
console.log(`${commandUser.user} doesn't own this channel`)
console.log(`${user} doesn't own this channel`)
bot.whisper(message, transcript('leaderAdd.invalidChannel'))
return
}
Expand Down

0 comments on commit 981cc1b

Please sign in to comment.