Config variable for silent/non-silent induction outside of "/induct" command
- Lingua principale
- Python
- Stelle
- 1
- Fork
- 11
- Merge medio
- 20h 7m
- PR unite (30g)
- 2
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia leggendo i callback di /induct, /make-member e /ensure-members-inducted, concentrandoti su dove viene attualmente inviato il messaggio di benvenuto dell’induction. Estrai il comportamento condiviso e aggiungi la configurazione richiesta tramite una variabile d’ambiente, in modo che i percorsi di induction alternativi possano essere silenziosi o non silenziosi; il lavoro è completato quando tutti e tre i percorsi seguono il comportamento configurato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- backend
- Tipo di issue
- Refactoring
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100