Accept JSON structure as channel name
This commit is contained in:
@@ -140,7 +140,7 @@ class AIResponder(object):
|
||||
response['answer_needed'] = True
|
||||
response_message = AIResponse(response['answer'],
|
||||
response['answer_needed'],
|
||||
response['channel'],
|
||||
parse_maybe_json(response['channel']),
|
||||
parse_maybe_json(response['staff']),
|
||||
parse_maybe_json(response['picture']),
|
||||
response['hack'])
|
||||
|
||||
Reference in New Issue
Block a user