Skip to content

Track LeetCode achievements with our Discord bot! Get your problem-solving stats, view the leaderboard, and enhance your coding skills together. ๐Ÿš€

License

Notifications You must be signed in to change notification settings

BradenStitt/LeetcodeDiscordBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

LeetCode Questions Solved Discord Bot

Welcome to the LeetCode Questions Solved Discord Bot repository! This bot is designed to help users track and display the number of LeetCode questions solved by different members of your Discord server.

Features

  • User Stats: Retrieve the number of LeetCode questions solved by a user using their LeetCode username.

  • Interactive Commands: Use simple commands to interact with the bot and gather information.

Installation and Setup

  1. Clone this repository to your local machine:
    git clone https://github.com/BradenStitt/LeetcodeDiscordBot.git
  2. Install the Required Python Packages
    pip install -r requirements.txt
  3. Create a Discord bot by following the instructions in the Discord Developer Portal. Once your bot is created, obtain its token.
  4. In the root directory of your bot's project, create a .env file. Add your bot token to this file using the following format:
  5. Generate an OAuth2 URL for your bot in the Discord Developer Portal. Use this URL to invite your bot to your Discord server.
  6. Open your terminal and navigate to your bot's project directory. Run the bot using the following command:
    python bot.py
    

Usage

  • Use the !leetcode <leetcode_username> command to get the number of LeetCode questions solved by a user shown in the current channel. For example, !leetcode john_doe.

  • Use the ?leetcode <leetcode_username> command to get the number of LeetCode questions solved by a user sent via DM. For example, ?leetcode john_doe.

  • Use the !help command to get a list of available commands.

License

This project is licensed under the MIT License.

About

Track LeetCode achievements with our Discord bot! Get your problem-solving stats, view the leaderboard, and enhance your coding skills together. ๐Ÿš€

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages