Skip to content

meanmachin3/leetcode-bot

Repository files navigation

Bot

Discord bot that sends leetcode questions every Monday to Friday to practise your algorithmic skills

Running application locally

  1. Clone this repositry https://github.com/meanmachin3/leetcode-bot.git

  2. Create your bot token over here

  3. create .env file

  4. mv env.sample .env

  5. Paste your env settings

  6. node index.js

Deploy Bot to Heroku

Deploy HGE on heroku

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.

Server configuration

  1. Go to Resources
  2. Scale down your web worker
  3. Scale up your worker node

Usage

  1. !help: To see list of commands available
  2. !submit: To submit code directly from server to leetcode

Screenshots

submit

About

Discord bot that sends leetcode questions every Monday to Friday to practise your algorithmic skills

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy