Skip to main content

Module motd

Module motd 

Source

Constants§

MOTD_DIR
The folder beside the games holding <lang>.txt message-of-the-day texts.
MOTD_FALLBACK_LANG

Functions§

read_motd
The text for lang, else the fallback language’s, else None.
valid_lang
[a-z]{2,8}: lang names a file no manifest lists, so this alphabet is what keeps it inside the motd folder.