Home / Companies / Twilio / Blog / Post Details
Content Deep Dive

Build a Reddit Slack Bot in Haskell

Blog post from Twilio

Post Details
Company
Date Published
Author
Lizzie Siegle
Word Count
1,340
Language
English
Hacker News Points
-
Summary

This article guides readers through building a Reddit Slack bot in Haskell, leveraging various APIs such as Linklater, Reddit, and Ngrok. The process begins with setting up a Slack app, creating a custom slash command, and configuring the bot to interact with the Reddit API. The code is written in Haskell, utilizing packages like Linklater and Reddit API to fetch trending posts related to user-inputted topics. After building the bot, users can test it by typing a slash command in their designated Slack channel, receiving a message with a link to the relevant Reddit post. The article concludes that building Slack bots in Haskell is relatively straightforward, offering opportunities for developers to explore other APIs and create custom bots.