diff --git a/bot.py b/bot.py index 85e79d0..5c03c88 100644 --- a/bot.py +++ b/bot.py @@ -21,7 +21,7 @@ Xkcd = namedtuple('Xkcd', ['title', 'link', 'transcript', 'alt', 'number']) URL_FMT_STR = "http://www.ohnorobot.com/index.php?Search=Search&comic=56&s={}" # FIXME HTML parsemode + escaping -MSG_FMT_STR = "[{number}]({link}): *{title}*\n\n_{alt}_" +MSG_FMT_STR = "[{number}]({link}): **{title}**\n\n__{alt}__" XKCD_JSON_FMT_STR = "https://xkcd.com/{}/info.0.json" MAX_SEARCH_RESULTS = 10