- Clone the repository onto your local system
- [Optional+Recommended] Set up a python virtual environment and activate it before installing dependencies. A Python venv is an independent collection of python packages and is used for creating replicable dev environments and preventing versioning conflicts.
- Use the
pip install -r requirements.txt
command to install all dependencies. - Add the requisite
.env
file in the repository root. - Run the bot using
python3 main.py
orpython main.py
command in the terminal.
how to build a simple discord bot discord.py
- Allow tagging a
discordId
to agithubId
so that contributions can be managed. Everyone coming to the server will be required to register themselves on the bot. Ask every contributor to connect their Github to Discord. The bot will take this publicly available info and add it to the database. - Seeing the list of projects and their quick links. Should allow for navigation to projects.
- Documentation links
- Repositories
- Learning path
- Gitpod setup links
- View the deployed link for master branch
- Link to github unclaimed issues
- Commands to do the following
- Seeing the summary of proposals submitted by contributors
- Listing contributions by profile
- Share a summary of contributions at the end of the day to each individual channel project wise
- Total PR Raised by Contributors (not mentors)
- Total PRs Merged by Contributors (not mentors)
- Top 5 contributors
- Contributions for the day (Issues list)
- Draft proposals
- Share with mentors
- Allow mentors ping contributors when the proposal is reviewed (not sure how this can be accomplished)
- Dashboard to show all proposals a mentors needs to review
- Final proposals
- Submission
Connect your Github with Discord.
Got to this URL to register yourself. This URL allows the discord bot to get
- identity
- connections (githubId) This registeres a token with us that we can use to check your GithubId that was connected in step 1.