Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 755 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 755 Bytes

Description

  • A simple bot that fetches the daily problem from LeetCode.com with the use of a Discord command.

Requirements

Install the following packages using pip

  • discord.py
  • requests

Set up

https://discordapp.com/oauth2/authorize?client_id=CLIENT_ID&scope=bot&permissions=3072 (change CLIENT_ID to your application's client_id)

  • In discordc.py you need to input your bot user's token

  • Once these steps are done go ahead and start the bot by something like 'python3 discordc.py'

Usage

  • Type !leetcode to make the bot fetch the daily problem.