Using bold just for the puzzle status word. (This is an attempt to
avoid Slack seeing a '*' in a regular expression of a search term and
think that it means to make something bold.)
for round in puzzle['rounds']:
rounds.add(round)
- hunt_text = "*{} puzzles in hunt <{}|{}>".format(
+ hunt_text = "*{}* puzzles in hunt <{}|{}>".format(
puzzle_status.capitalize(),
channel_url(channel_id),
name
if search_terms:
quoted_terms = [quote_if_has_space(term) for term in search_terms]
hunt_text += " matching {}".format(" AND ".join(quoted_terms))
- hunt_text += "*"
blocks = [
section_block(text_block(hunt_text)),