CSSUoB / CSSUoB/TeX-Bot-Py-V2

Config variable for silent/non-silent induction outside of "/induct" command

オープン
#53 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
1
フォーク
11
平均マージ
20時間 7分
マージ済み PR(30日)
2

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

/induct、/make-member、/ensure-members-inducted の callback を読み、現在 induction welcome message がどこで送信されているかに注目してください。共通する動作を抽出し、代替の induction path を silent または non-silent にできるよう、要求された環境変数の設定を追加してください。3 つすべての path が設定された動作に従えば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
backend
issue の種類
リファクタリング
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。