Coder Social home page Coder Social logo

itsthemoon / devtaskbot Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9 KB

TaskMasterBot is a Discord/GitHub bot designed to streamline task and issue management for open-source projects. This bot integrates with both Discord and GitHub, allowing project maintainers and contributors to create, assign, and manage tasks directly from their Discord server.

License: MIT License

Python 100.00%
discord-bot github

devtaskbot's Introduction

DevTaskBot

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.

Features

  • 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.

Getting Started

Prerequisites

  • Python installed
  • Discord bot token
  • GitHub personal access token

Installation

  1. Clone the repository:

    git clone https://github.com/itsthemoon/DevTaskBot.git
    cd DevTaskBot
    
  2. Set up a venv (optional): python -m venv venv source venv/bin/activate # On Windows use venv\Scripts\activate

  3. Install packages: pip install -r requirements.txt

  4. Set up .env file: Create a .env file in the format of .env.example

  5. Run the bot: python bot.py

Commands

•	/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.

devtaskbot's People

Contributors

itsthemoon avatar

Watchers

 avatar

devtaskbot's Issues

Roadmap

Roadmap for DevTaskBot

1. Basic Functionality

  • Create a Discord bot that can create GitHub issues.

2. Error Handling

  • Implement error handling for invalid inputs.
    • Validate inputs for the createtask command.
    • Return meaningful error messages for invalid GitHub tokens.
    • Handle network errors when making API requests to GitHub.

3. Secure Storage of GitHub Tokens

  • Implement a secure way to store GitHub tokens.

4. User Authentication and Association

  • Implement a way to associate a Discord user with their GitHub username.
    • Create a command for users to link their GitHub account to their Discord account.
    • Store the association securely.
    • Use the stored GitHub username for assigning issues if the assignee is not specified.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.