Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion pybot/endpoints/slack/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down