Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement to-github command #3

Open
phorcys420 opened this issue Feb 10, 2023 · 2 comments
Open

Implement to-github command #3

phorcys420 opened this issue Feb 10, 2023 · 2 comments

Comments

@phorcys420
Copy link
Member

phorcys420 commented Feb 10, 2023

It would be nice if we could close a discord post and automatically forward it to GitHub.

Notes

We need to avoid allowing mentions to go through in the transcript.
We also need to account for escaping the transcript codeblock to input custom markdown, this should work by adding a ZWS to every ` character in the codeblock.

Flow

  1. User runs /to-github
  2. A GitHub issue is created with the following format
  3. The issue link is posted to the channel and pinned
  4. The post gets the to-github tag
  5. The post gets archived (and locked?)

Issue format

Name : Thread name
Content :
A post was created in the Discord server and was forwarded to GitHub.


Conversation transcript
[phorcys]: I said this
[ben]: I said this
Attachements
@phorcys420 phorcys420 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 21, 2024
@matifali
Copy link
Member

matifali commented May 15, 2024

This would be nice to have. Bonus if we can choose between a GitHub issue or a discussion too.

@matifali matifali reopened this May 15, 2024
@matifali
Copy link
Member

There are 2 ways this can be done,

  1. Bot auto creates a GitHub issue.
  2. We let the user create the issue where bot just auto fills the Title and Body. https://stackoverflow.com/a/34147022/9183518

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants