Improve `MANUAL_MODERATION_WARNING_MESSAGE_LOCATION` validation
- 主要言語
- Python
- スター
- 1
- フォーク
- 11
- 平均マージ
- 20時間 7分
- マージ済み PR(30日)
- 2
説明
Currently we do not do any validation on input for this variable. A regex or other checks should be implemented to ensure that the channel name is valid. This will be tricky as it doesn't seem like discord have clear docs on what is considered valid.
Additionally, it's theoretically possible that a discord channel with the name "DM" exists, which could conflict with the default DM option. A note added to the documentation would likely be useful just to document this.
コントリビューションガイド
調査の方向性
MANUAL_MODERATION_WARNING_MESSAGE_LOCATION の処理と、この設定のドキュメントを見つけてください。まず、現在の値がどのように読み取られているか、またチャンネル名がどのように表現されているかを調べ、その後、issue にある Discord チャンネルの制約に対するバリデーションを確認してください。無効な値が拒否され、ドキュメントに "DM" という名前のチャンネルとデフォルトの DM オプションの間で起こり得る競合が記載されていれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend, documentation
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100