Fix channel names in answers on history.
This commit is contained in:
parent
96ff52ef8a
commit
17386af950
@ -224,6 +224,8 @@ class AIResponder(object):
|
|||||||
response['hack'])
|
response['hack'])
|
||||||
if response_message.staff is not None and response_message.answer is not None:
|
if response_message.staff is not None and response_message.answer is not None:
|
||||||
response_message.answer_needed = True
|
response_message.answer_needed = True
|
||||||
|
if response_message.channel is None:
|
||||||
|
response_message.channel = message.channel
|
||||||
return response_message
|
return response_message
|
||||||
|
|
||||||
def short_path(self, message: AIMessage, limit: int) -> bool:
|
def short_path(self, message: AIMessage, limit: int) -> bool:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user