From b1bab2750fd13ab3202d8dab917169ea921eced7 Mon Sep 17 00:00:00 2001 From: Aaron Suarez Date: Thu, 23 May 2019 15:52:56 -0500 Subject: [PATCH] Add a note that its a 30 minute mentoring session --- pybot/endpoints/slack/commands.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pybot/endpoints/slack/commands.py b/pybot/endpoints/slack/commands.py index f0b5b4e3..d5c7d171 100644 --- a/pybot/endpoints/slack/commands.py +++ b/pybot/endpoints/slack/commands.py @@ -46,7 +46,13 @@ async def slash_mentor(command: Command, app: SirBot): dialog = mentor_request_attachments(services, mentors, skillsets) - response = {"attachments": dialog, "channel": command["user_id"], "as_user": True} + response = { + "attachments": dialog, + "channel": command["user_id"], + "as_user": True, + "text": "Thank you for signing up for a 30 minute mentoring session. Please fill out the form below:" + } + await app.plugins["slack"].api.query(methods.CHAT_POST_MESSAGE, response)