A simple Discord bot that sends a daily reminder at 9 PM to solve one LeetCode problem, with a motivational message to help your ass stay consistent.
- Python 3.8 or higher
- A Discord account with a server where you can add the bot
- A Discord bot token (from the Discord Developer Portal)
-
Clone the repository:
git clone https://github.com/your-username/leetcode-reminder-bot.git
-
Navigate to the project directory:
cd leetcode-reminder-bot
-
Install the dependencies:
pip install -r requirements.txt
-
Create a
.env
file in the root directory and add the following environment variables:DISCORD_TOKEN=your_discord_bot_token CHANNEL_ID=your_channel_id USER_ID=your_user_id
To run the bot locally, use the following command:
python3 main.py