Greetings! I am Alfred, your dependable and courteous GitHub butler, at your service. 🤵 My purpose is to ease your workload by perusing your Discord conversations and creating detailed GitHub issues for you, complete with labels. Simply invoke /create-issue-ai, and leave the rest to me.
As your devoted butler, my current tasks revolve around helping you create detailed GitHub issues to the best of my abilities.
You may request that I review all messages in a conversation, starting from the message with the URL you provide. I shall examine the messages and summarize my findings in a GitHub ticket.
I will review all messages from the provided message URL up to the present. I can automatically include images if needed and understand references to other GitHub messages.
I will automatically label tickets based on the available labels in your repository. Please ensure that each label in your repository has a clear and useful definition, as I will attempt to assign labels based on their definitions and the issue at hand.
While GPT-4 does not yet comprehend images as humans do, rendering me effectively blind, I can still include them in the ticket's appendix as references, in case they contain useful information for readers.
Should you prefer to create an issue manually, I shall gladly comply. Simply provide the title and content of the issue, and I shall dutifully create the ticket for you.
To have your very own Alfred Discord bot, please follow these steps:
- Git clone this repository.
- Run
yarnornpm installto install dependencies. - Duplicate the config sample file
src/config/config.sample.tsand rename the copy tosrc/config/config.ts. - Add your Discord bot token and chat GPT API key into your
config.tsfile. - Run
yarn startornpm startto activate the bot.
If you desire Alfred to automatically assign issues to a specific GitHub Project, kindly create an Auto Add Workflow in your project:
- Go to
github.com/users/USER_NAME/PROJECT_NAME/1/workflows. - In the Default Workflow tab, click on Auto-add to project.
- Click Edit, located at the top right.
- Select
is:issue is:openif you wish for every created issue to be automatically added to your project. - Click Save and turn on workflow.