DevTaskBot is a Discord/GitHub bot designed to streamline task and issue management for open-source projects. This bot integrates seamlessly with both Discord and GitHub, allowing project maintainers and contributors to create, assign, and manage tasks directly from their Discord server.
- Create GitHub issues directly from Discord.
- Assign issues to GitHub users.
- Link Discord users to their GitHub accounts.
- Securely store GitHub tokens for each server.
- Python installed
- Discord bot token
- GitHub personal access token
-
Clone the repository:
git clone https://github.com/itsthemoon/DevTaskBot.git cd DevTaskBot
-
Set up a venv (optional): python -m venv venv source venv/bin/activate # On Windows use
venv\Scripts\activate
-
Install packages: pip install -r requirements.txt
-
Set up .env file: Create a .env file in the format of .env.example
-
Run the bot: python bot.py
• /ping: Responds with “Pong!” to test if the bot is running.
• /createtask: Creates a new GitHub issue.
title: Title of the task.
description: Description of the task.
assignee: GitHub username to assign the task to.
• /setgithubtoken: Sets the GitHub token for the server.
token: Your GitHub personal access token.