We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1aef63a + b1bab27 commit 3960702Copy full SHA for 3960702
1 file changed
pybot/endpoints/slack/commands.py
@@ -46,7 +46,13 @@ async def slash_mentor(command: Command, app: SirBot):
46
47
dialog = mentor_request_attachments(services, mentors, skillsets)
48
49
- response = {"attachments": dialog, "channel": command["user_id"], "as_user": True}
+ 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
+
56
await app.plugins["slack"].api.query(methods.CHAT_POST_MESSAGE, response)
57
58
0 commit comments