working-plusplus
working-plusplus copied to clipboard
@karmabot++ and @karmabot ++ is space sensitive and winds up with two Karmabot entries
When I review the "whole list" from the leaderboard I see a Karmabot in the people list with 5 Karma points and a Karmabot in the things list with -1 Karma points.
I decrement the Karma points for the "PeopleList" Karmabot I need to insert a space after the @karmabot and before the "--". As you see above in the addition Karmabot gets confused and responds to the karma notification.
This is a "bug" in Slack itself that we haven't worked around yet:
Notice that the first @karmabot is highlighted as a username and the second one isn't. We get different messages from Slack in these two cases and haven't implemented a workaround to match them up yet.
Thanks for reporting this, @penny-boulet and welcome to GitHub!
A workaround for this will probably involve inspecting the name of every 'thing' received and do a lookup to determine if there is any user (or bot) with a matching name.