Conversation
…t accidental commit of private keys refactor(pyproject.toml): replace pygithub with githubkit for better GitHub App authentication support
…on with GitHub API refactor(constants.py): rename BOT_SOURCE to GITHUB_REPO_URL for better clarity fix(constants.py): add base64 decoding for GITHUB_PRIVATE_KEY_BASE64 to ensure correct format for private key
refactor(ghub.py): improve error handling and code readability by extracting common code into helper functions feat: add create, get, and comment commands to GitHub bot - The create command allows users to create a pull request in a specified repository. - The get command retrieves a specific pull request from a repository. - The comment command allows users to comment on a specific pull request in a repository. These changes were made to enhance the functionality of the GitHub bot. chore(ghub.py): remove ghub.py file as it is no longer needed in the project
…erations This new class provides methods for interacting with GitHub, including fetching repositories, creating issues, creating issue comments, closing issues, fetching issues, fetching open issues, fetching closed issues, fetching open pull requests, fetching closed pull requests, and fetching specific pull requests. This will allow for more streamlined and centralized handling of GitHub operations within the application.
…ith GitHub This new cog includes commands for fetching repository info, creating and managing issues, and managing pull requests. This will allow users with certain roles to interact with the GitHub API directly from Discord.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding a few commands that allow a select few roles to mess around with github functionality, like issues and pull requests. This pull request was sent via Tux.