Skip to content
This repository has been archived by the owner on Dec 10, 2022. It is now read-only.

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

Open
penny-boulet opened this issue Mar 7, 2019 · 3 comments
Labels
bug Something isn't working

Comments

@penny-boulet
Copy link

karmabot_oddity

@penny-boulet
Copy link
Author

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.

@SkUrRiEr
Copy link
Collaborator

SkUrRiEr commented Mar 7, 2019

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 SkUrRiEr added the bug Something isn't working label Mar 7, 2019
@tdmalone
Copy link
Owner

tdmalone commented Mar 7, 2019

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants