Some recent change made a command like "/hunt solved" result in an error.
This commit fixes that.
channel_id = body['channel_id'][0]
response_url = body['response_url'][0]
channel_id = body['channel_id'][0]
response_url = body['response_url'][0]
if args:
# The first word can be a puzzle status and all remaining word
# (if any) are search terms. _But_, if the first word is not a
if args:
# The first word can be a puzzle status and all remaining word
# (if any) are search terms. _But_, if the first word is not a
status = 'unsolved'
else:
status = 'unsolved'
status = 'unsolved'
else:
status = 'unsolved'
# Separate search terms on spaces (but allow for quotation marks
# to capture spaces in a search term)
# Separate search terms on spaces (but allow for quotation marks
# to capture spaces in a search term)