ASU-CodeDevils / devilbot

A Rust rewrite of Flameboi to work for our Discord Server.
Apache License 2.0
16 stars 1 forks source link

Message a user with when they have joined the workspace #33

Closed reharri7 closed 2 years ago

reharri7 commented 2 years ago

When a new member joins the workspace slack sends this event https://api.slack.com/events/team_join

Using this documentation https://api.slack.com/messaging/sending message a user on behalf of my account with some basic info introducing myself and inviting them to introduce themselves in intros and come to hangout

Others are welcome to work on this just run it passed Rhett so he knows what's getting sent on his behalf

reharri7 commented 2 years ago

Upon further investigation, it is impossible to do this on behalf of a user, but we can do it as DevilBot https://api.slack.com/methods/chat.postMessage#channels

reharri7 commented 2 years ago

https://api.slack.com/methods/conversations.open

reharri7 commented 2 years ago

https://api.slack.com/methods/chat.postMessage/test