Config variable for silent/non-silent induction outside of "/induct" command
- Ngôn ngữ chính
- Python
- Star
- 1
- Fork
- 11
- Merge trung bình
- 20 giờ 7 phút
- Pull request đã merge (30 ngày)
- 2
Mô tả
After #54, there are now 2 other ways for user's to be inducted outside of the `/induct` command: a user self-inducting via the `/make-member` command and a committee member using `/ensure-members-inducted`. The code to send the welcome message upon user induction is defined within the `/induct` command call-back, therefore it is not called if the user is inducted any other way. This essentially acts like a silent induction.
This code should be extracted in order for it to be called in any induction method.
In addition an environment variable should allow the configuration of whether the alternative induction methods act like a silent or non-silent induction.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách đọc các callback của /induct, /make-member và /ensure-members-inducted, tập trung vào nơi thông báo chào mừng induction hiện đang được gửi. Trích xuất hành vi dùng chung và thêm cấu hình biến môi trường được yêu cầu để các đường dẫn induction thay thế có thể im lặng hoặc không im lặng; hoàn tất khi cả ba đường dẫn đều tuân theo hành vi đã cấu hình.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- backend
- Loại issue
- Tái cấu trúc
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100