docs(announcement): add documentation for target option in schedule

Add documentation explaining the optional 'target' parameter that allows restricting announcements to specific usergroups like 'vip', with all users receiving the announcement by default if not specified.
This commit is contained in:
2026-07-20 15:41:38 +02:00
parent 2b56b15886
commit cf747dd454
@@ -36,6 +36,9 @@ BladW.Announcement = BladW.Announcement or {}
-- title = "...", text = "..." -> annonce perso -- title = "...", text = "..." -> annonce perso
-- (si je mets les deux, title/text passent devant le preset) -- (si je mets les deux, title/text passent devant le preset)
-- --
-- À QUI ? en option :
-- target = "vip" -> seulement l'usergroup "vip" (sinon tout le monde)
--
-- Pour couper une ligne : je la commente (--) ou je la dégage. -- Pour couper une ligne : je la commente (--) ou je la dégage.
-- ───────────────────────────────────────────── -- ─────────────────────────────────────────────
BladW.Announcement.Schedules = { BladW.Announcement.Schedules = {