Discord bot that sends leetcode questions every Monday to Friday to practise your algorithmic skills
-
Clone this repositry
https://github.com/meanmachin3/leetcode-bot.git
-
Create your bot token over here
-
create
.env
file -
mv env.sample .env
-
Paste your env settings
-
node index.js
After deploying, add the following environment variables
GUILD: your_server_name
CHANNEL: your_channel_name_to_post
BOT_TOKEN: bot_token
LEETCODE_LOGIN: leetcode_user_name
LEETCODE_PASS: leetcode_pass_word
Save changes.
- Go to Resources
- Scale down your web worker
- Scale up your worker node
!help
: To see list of commands available!submit
: To submit code directly from server to leetcode