working-plusplus icon indicating copy to clipboard operation
working-plusplus copied to clipboard

@karmabot++ and @karmabot ++ is space sensitive and winds up with two Karmabot entries

Open penny-boulet opened this issue 6 years ago • 3 comments

karmabot_oddity

penny-boulet avatar Mar 07 '19 19:03 penny-boulet

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.

penny-boulet avatar Mar 07 '19 19:03 penny-boulet

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.

SkUrRiEr avatar Mar 07 '19 22:03 SkUrRiEr

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.

tdmalone avatar Mar 07 '19 23:03 tdmalone