INNER CODE UNIT · Python
just_ack
seratch/ChatGPT-in-Slack · app/bolt_listeners.py:88
def just_ack(ack: Ack):
ack()
#
# Chat with the bot
#
def respond_to_app_mention(
context: BoltContext,
payload: dict,
client: WebClient,
logger: logging.Logger,
):
thread_ts = payload.get("thread_ts")
if thread_ts is not None:
parent_message = find_parent_message(client, context.channel_id, thread_ts)