slackbot configuration fix

This commit is contained in:
pablodanswer
2025-02-06 09:36:58 -08:00
parent 6ccb3f085a
commit 8c42ff2ff8
2 changed files with 6 additions and 1 deletions

View File

@@ -52,7 +52,11 @@ def upgrade() -> None:
slack_bot_id, persona_id, channel_config, enable_auto_filters, is_default
) VALUES (
:bot_id, NULL,
'{"channel_name": null, "respond_member_group_list": [], "answer_filters": [], "follow_up_tags": []}',
'{"channel_name": null, '
'"respond_member_group_list": [], '
'"answer_filters": [], '
'"follow_up_tags": [], '
'"respond_tag_only": true}',
FALSE, TRUE
)
"""

View File

@@ -247,6 +247,7 @@ def create_bot(
respond_member_group_list=[],
answer_filters=[],
follow_up_tags=[],
respond_tag_only=True,
)
insert_slack_channel_config(
db_session=db_session,