Start basic host blacklist support

This commit is contained in:
Thomas Sileo
2019-07-08 23:18:33 +02:00
parent e333089895
commit 96a9835593
2 changed files with 21 additions and 0 deletions

View File

@@ -234,3 +234,6 @@ if conf.get("emojis"):
EMOJI_TPL = '<img src="https://cdn.jsdelivr.net/npm/twemoji@12.0.0/2/svg/{filename}.svg" alt="{raw}" class="emoji">'
if conf.get("emoji_tpl"):
EMOJI_TPL = conf["emoji_tpl"]
# Host blacklist
BLACKLIST = conf.get("blacklist", [])