jinx-vi-0 / DDoL

Daily Dose of Leetcode
https://shorturl.at/ca4kT
MIT License
5 stars 6 forks source link
discord-bot discord-js gssoc-ext hactoberfest-accepted leetcode



Daily Dose of Leetcode

Discord License: MIT Visitors
Invite Me Join Community

Introduction

This is a Discord bot that integrates with LeetCode to provide daily challenges, random problems, user information, and more. It uses discord.js for interacting with the Discord API and leetcode-query for fetching data from LeetCode.

Features

Commands

Installation

  1. Clone the repository:

    git clone https://github.com/your-github-username/leetcode-discord-bot.git
  2. Navigate to the project directory:

    cd DDoL
  3. Install the dependencies:

    npm install
  4. Create a .env file in the root directory and add your Discord bot token and channel ID:

    TOKEN=your-discord-bot-token
    CHANNEL_ID=your-channel-id

Usage

  1. Start the bot:

    npm run start
  2. Invite the bot to your Discord server using the OAuth2 URL generated from the Discord Developer Portal.

  3. Use the commands in any channel the bot has access to.

Contributing

Contributions are welcome! Please raise an issue with your changes.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Don't forget to give us a ⭐