Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Most positive/negative users based on sentiment #26

Closed
hopperelec opened this issue Jan 5, 2023 · 5 comments
Closed

Most positive/negative users based on sentiment #26

hopperelec opened this issue Jan 5, 2023 · 5 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@hopperelec
Copy link
Contributor

No description provided.

@mlomb mlomb added enhancement New feature or request good first issue Good for newcomers labels Jan 9, 2023
@mlomb
Copy link
Owner

mlomb commented Jan 9, 2023

Totally doable! I think it should be done in the SentimentStats block and similar to how authorsReplyCount works in the InteractionStats block.

Probably we want a dropdown in the title, something along the lines "Most [positive, negative] authors", also probably changing the color of the bars accordingly :)

@hopperelec
Copy link
Contributor Author

Instead of a positive/negative dropdown, I think there should be a dedicated icon for changing the direction of the sort. This icon could be used elsewhere like:

  • 'Messages sent by channel' to switch to showing the channels with the least messages, which could be useful for identifying stale channels that an owner may want to delete
  • 'Emojis used in [text / reactions]' to switch to showing the least used emojis. This is only really useful for custom emojis, but can again be used for identifying pointless emojis that an owner may want to delete. This is especially useful since Discord servers only have a limited number of custom emoji slots, so if an owner wants to add a new one they may need to find one to replace
  • 'Messages sent by author' to switch to showing the authors who have sent the least messages. This might be useful for small private servers where owners only want to keep active users. It is also useful for staff applications, as an owner could reject a user's application if they aren't active enough

@hopperelec
Copy link
Contributor Author

I'm actually not sure how to calculate this without producing biases. If you just sum all the sentiments for every message an author has sent, it would pretty much just be the same as 'Messages sent by author' saying the most active authors are more positive than less active authors. If you take the average sentiment across every message an author has sent, it would be very biased towards authors who have sent fewer messages so less data is available for them.
I think we'd have to calculate the average but only for authors who have sent a minimum number of messages (either a fixed threshold such as 1000 messages, or a percentage of other authors such as top 20% of authors)

@hopperelec
Copy link
Contributor Author

Just thought- this could be done for channels too, rather than just users. This should be an(other) dropdown

@mlomb mlomb mentioned this issue Feb 9, 2023
10 tasks
@mlomb mlomb changed the title [Feature request] Most positive/negative users based on sentiment Most positive/negative users based on sentiment Mar 2, 2023
@mlomb
Copy link
Owner

mlomb commented Mar 2, 2023

I'll close this issue due #56 (comment).
I'll also open a new issue with the icon #63

@mlomb mlomb closed this as completed Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants