CSSUoB / CSSUoB/TeX-Bot-Py-V2

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

Offen
#53 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
1
Forks
11
Ø Merge
20 Std. 7 Min.
Gemergte PRs (30 T.)
2

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.