!dkp responses are indeterminate when using multiple teams
thunk84 opened this issue ยท 2 comments
Describe the bug
Using 3.0 r7: If user A whispers !dkp to user B, user B replies with a dkp value of whichever team user B last viewed. From User A's point of view, the reply is unpredictable.
To Reproduce
Steps to reproduce the behavior:
User A - regular raider. User B - officer. User C - officer.
- User A wants to see team 1 DKP.
- User B (officer) views Team 2, and closes CommunityDKP
- User C (officer) views Team 1 and closes CommunityDKP
4 User A whispers User B. User B replies with team2 dkp as that's the last team he was viewing. User A, though, doesn't know which team the reply applies to. it appears to be random. - Since they're confused, user A whispers user C and receives team1 dkp. User A is confused because the officers are reporting two different values, and User A doesn't know how to force a response of team 1 dkp.
Expected behavior
A clear and concise description of what you expected to happen.
When commDKP replies on User B, it should reply with User A's dkp in every team. And the output line should include the team name so it's clear which line applies to which team.
Or allow user A to query by team, such as "!dkp myName Black Wing Lair
Screenshots
If applicable, add screenshots to help explain your problem.
CommunityDKP Version
3.0 r7:
Additional context
Add any other context about the problem here.