https://github.com/tlkamp/githubsolutioncog
A Cog for RedBot that cross-posts Discord solutions to GitHub issues.
https://github.com/tlkamp/githubsolutioncog
discord discord-cogs issues python3 redbot redbotv3
Last synced: about 1 month ago
JSON representation
A Cog for RedBot that cross-posts Discord solutions to GitHub issues.
- Host: GitHub
- URL: https://github.com/tlkamp/githubsolutioncog
- Owner: tlkamp
- Created: 2019-02-16T21:48:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-24T15:36:55.000Z (over 7 years ago)
- Last Synced: 2025-04-02T04:48:05.052Z (about 1 year ago)
- Topics: discord, discord-cogs, issues, python3, redbot, redbotv3
- Language: Python
- Size: 131 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# GithubSolution Cog
A cog for [Red-DiscordBot](https://red-discordbot.readthedocs.io/en/v3-develop/)
that cross-posts solutions for GitHub issues from Discord.
## Authentication
GithubSolution requires a personal access token for authentication.
Please use [this guide](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/) to
obtain one.
The personal access token needs **repo** scope.
## Configuration
All configuration is on a per-guild (server) basis.
| field | command | description | permissions |
|------------------|-----------------------------------------------------------------------|-----------------------------------------------------------------------------------|-----------------------|
| github_project | !setproject namespace/project
`!setproject tlkamp/githubsolutioncog` | The project GithubSolution checks for issues. | Guild (server) Admin. |
| github_token_var | !settokenvar MYVARIABLE
`!settokenvar GHTOKEN` | The environment variable GithubSolution will pull the personal access token from. | Bot owner. |
## Usage
To post a solution simply give the command:
```
# Syntax
!solution
# Example
!solution 123 The user did not try turning it off and then on again.
```

