Accept JSON structure as channel name
This commit is contained in:
parent
b26b98611a
commit
203ebe72c1
@ -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'])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user