From b8ee75fc98cb639014c53a8c038b40814c30f844 Mon Sep 17 00:00:00 2001 From: Matthew Stanciu Date: Sat, 11 Jan 2020 21:35:32 -0500 Subject: [PATCH] Fix name issue --- src/interactions/leaderAdd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interactions/leaderAdd.js b/src/interactions/leaderAdd.js index d25274e4..8e687a1a 100644 --- a/src/interactions/leaderAdd.js +++ b/src/interactions/leaderAdd.js @@ -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