A slack bot that automatically sends Leetcode questions. Users can change the difficulty level and category of the Leetcode question. Users can also manually request a Leetcode question.
Table of Contents
In preparation for technical interviews, my friends and I were discussing ways to reduce friction in doing one technical programming question a day. As a result, we created a bot that automatically sends a Leetcode question to our Slack channel. Users can change the difficulty level and category of the Leetcode question.
Developed in two days as a personal project.
-
Clone the repo
git clone https://github.com/christietsang/DailyLeetcode.git
-
Create a new App on Slack API's website
-
Generate your configuration token and sign-in secret on Slack API's website.
-
Create a
.env
file in the folderdaily-leetcode
with the information:SLACK_TOKEN = <your_configuration_token_here> SIGNIN_SECRET = <your_secret_here>
-
Install dependencies.
-
Change the value returned from
generate_channel_id
to the channel id where you would like to interact with this bot. -
Host the bot.
Christie Tsang - LinkedIn
Belal Kourkmas - LinkedIn
Bosco Chan - LinkedIn
Project Link: https://github.com/christietsang/DailyLeetcode.git