Skip to content

Commit

Permalink
Fix name issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewStanciu authored and maxwofford committed Jan 18, 2020
1 parent 18cd324 commit b8ee75f
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 @@ -18,7 +18,7 @@ const interactionLeaderAdd = (bot, message) => {
return
}

if (!(commandUser.club && commandUser.ambassador)) {
if (!(commandUser.club && commandUser.permissionedAmbassador)) {
console.log(`${commandUser.user} doesn't have a club`)
bot.replyPrivateDelayed(message, transcript('leaderAdd.invalidClub'))
return
Expand Down

0 comments on commit b8ee75f

Please sign in to comment.