Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Improve the stats output that TeX bot produces

Đang mở
#578 5 bình luận 1 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@fernwarwick đang làm issue này rồi.

Từ ngày 18/7/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

As it says on the tin. There are a few issues that I have noticed with the stats the bot produces that I think improving on could help the bot look somewhat cleaner on:

Removing redundancy
When a user uses the /stats self command there is some level of redundancy. If a user does not have many contributions they will end up with bars of height 0:

Image

Fixing this may also prevent some security issues - we can see an example of this in the above output, where despite not being on committee, the bot has shown me some committee channels that are available.

Make text less cramped
Here is an output from the /stats server command:

Image

As one can see the text is quite cramped. It also displays committee only channels, which server admins may not want users to see depending on the application of the bot. I would also like to fix the margins so that all the text fits in the generated image.

Improve the display of data
This is a broad term, but this time looking at the "most active roles" output in /stats server I would like to do a few things:

Image
  • Reorder the roles so it goes from most-contributed to least-contributed
  • Make the y axis scale by some reasonable multiple (ideally multiples of 10)
  • Subject to discussion, remove roles from the bar chart that contribute less than some proportion (say 5%) of server messages (or replacing it with an "other" option). This last suggestion should have the effect of making the chart far easier to read.
Ngôn ngữ chính
Python
Star
1
Fork
11
Merge trung bình
2 ngày 11 giờ
Pull request đã merge (30 ngày)
4

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CSSUoB/TeX-Bot-Py-V2

Tất cả issue của CSSUoB/TeX-Bot-Py-V2

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.