Skip to content

Commit b1bab27

Browse files
author
Aaron Suarez
committed
Add a note that its a 30 minute mentoring session
1 parent 1aef63a commit b1bab27

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

pybot/endpoints/slack/commands.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,13 @@ async def slash_mentor(command: Command, app: SirBot):
4646

4747
dialog = mentor_request_attachments(services, mentors, skillsets)
4848

49-
response = {"attachments": dialog, "channel": command["user_id"], "as_user": True}
49+
response = {
50+
"attachments": dialog,
51+
"channel": command["user_id"],
52+
"as_user": True,
53+
"text": "Thank you for signing up for a 30 minute mentoring session. Please fill out the form below:"
54+
}
55+
5056
await app.plugins["slack"].api.query(methods.CHAT_POST_MESSAGE, response)
5157

5258

0 commit comments

Comments
 (0)