Mercurial > prosody-modules
comparison mod_motd_sequential/README.wiki @ 1782:29f3d6b7ad16
Import wiki pages
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 24 Aug 2015 16:43:56 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1781:12ac88940fe3 | 1782:29f3d6b7ad16 |
---|---|
1 #summary Sequential MOTD messages | |
2 #labels Stage-Beta | |
3 | |
4 = Introduction = | |
5 | |
6 mod_motd_sequential is a variant of | |
7 [https://prosody.im/doc/modules/mod_motd mod_motd] that lets you specify | |
8 a sequence of MOTD messages instead of a single static one. Each message | |
9 is only sent once and the module keeps track of who as seen which message. | |
10 | |
11 = Configuration = | |
12 | |
13 {{{ | |
14 | |
15 modules_enabled = { | |
16 -- other modules | |
17 "motd_sequential"; | |
18 } | |
19 motd_sequential_messages = { | |
20 "Hello and welcome to our service!", -- First login | |
21 "Lorem ipsum dolor sit amet", -- Second time they login | |
22 -- Add more messages here. | |
23 } | |
24 | |
25 }}} | |
26 |