GHIssues

This is the cog guide for the ghissues cog. You will find detailed docs about usage and commands.

[p] is considered as your prefix.

Note

To use this cog, you will need to install and load it.

See the Getting my cogs page.

Usage

Create, comment, labelify and close GitHub issues.

This cog is only for bot owners. I made it for managing issues on my cog repo as a small project, but it certainly could be used for other situations where you want to manage GitHub issues from Discord.

If you would like a way to search or view issues, I highly recommend Kowlin’s approved githubcards cog (on the repo https://github.com/Kowlin/Sentinel)

At present, this cannot support multiple repos.

PRs are mostly supported. You can comment on them or close them but not merge them or create them.

Get started with the ghi howtoken command to set your GitHub token. You don’t have to do this if you have already set it for a different cog, eg githubcards. Then set up with ghi setrepo.

Commands

ghi

Note

This command is locked to the bot owner.

Syntax

[p]ghi <issue>

Tip

Alias: ghissues

Description

Command to interact with this cog.

All commands are owner only.

To open the interactive issue view, run [p]ghi <issue_num>.

Examples: - [p]ghi 11 - [p]ghi howtoken - [p]ghi newissue

ghi howtoken

Syntax

[p]ghi howtoken

Description

Instructions on how to set up a token.

ghi newissue

Syntax

[p]ghi newissue <title>

Description

Open a new issue. If you want to reopen, then use the normal interactive view.

ghi setrepo

Syntax

[p]ghi setrepo <slug>

Description

Set up a repo to use as a slug (USERNAME/REPO).