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

Add /infraction stats command #55

Closed
11 tasks done
oliverbooth opened this issue Sep 1, 2022 · 0 comments · Fixed by #68
Closed
11 tasks done

Add /infraction stats command #55

oliverbooth opened this issue Sep 1, 2022 · 0 comments · Fixed by #68
Assignees
Labels
enhancement New feature or request

Comments

@oliverbooth
Copy link
Member

oliverbooth commented Sep 1, 2022

Generate statistics of infractions including:

  • Total infraction count
  • Total warn count
  • Total (temp)mute count
  • Total (temp)ban count
  • Total gag count
  • Total deleted message count
  • Accumulated mute duration
  • Accumulated ban duration
  • Total warned users
  • Total muted users
  • Total banned users

And
image

@oliverbooth oliverbooth added the enhancement New feature or request label Sep 1, 2022
@oliverbooth oliverbooth self-assigned this Sep 1, 2022
oliverbooth added a commit that referenced this issue Sep 1, 2022
@oliverbooth oliverbooth linked a pull request Mar 8, 2023 that will close this issue
oliverbooth added a commit that referenced this issue Mar 8, 2023
DistinctBy is now called early, and cached. This result is then filtered using Count(_ => {}) rather than Where(_ => {}).DistinctBy
@oliverbooth oliverbooth changed the title Add /stats command Add /infraction stats command Mar 22, 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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant