Skip to content

Commit

Permalink
End /leader-add interaction after help message
Browse files Browse the repository at this point in the history
  • Loading branch information
maxwofford committed Jan 18, 2020
1 parent e2276bc commit febc84b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/interactions/leaderAdd.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const interactionLeaderAdd = async (bot, message) => {
const taggedUserID = (text.match(/\<@(.*)\|/) || [])[1]
if (!taggedUserID) {
bot.replyPrivateDelayed(message, transcript('leaderAdd.help'))
return
}

const taggedUser = await getInfoForUser(taggedUserID)
Expand Down

0 comments on commit febc84b

Please sign in to comment.