hlian / linklater

A Haskell library for the Slack API (including real-time messaging!)
BSD 3-Clause "New" or "Revised" License
79 stars 11 forks source link

Explicitly handle user IDs #15

Closed elldritch closed 5 years ago

elldritch commented 5 years ago

According to https://api.slack.com/slash-commands#best_practices:

  • Turn on escaping for usernames, channels, and links by flipping the toggle in your slash command's configuration dialog. Always work with user IDs and channel IDs.

Linklater does not currently support parsing the user ID from slash command payloads. This PR adds that functionality.

hlian commented 5 years ago

love it!

hlian commented 5 years ago

ok now i really have to do a v4 release soon. going to self-impose a deadline by the end of the week on myself here