{"id":49405844,"url":"https://github.com/avrae/taine","last_synced_at":"2026-04-28T21:09:03.235Z","repository":{"id":37927821,"uuid":"104494049","full_name":"avrae/taine","owner":"avrae","description":"A bot to run the avrae bug ticker, named Taine.","archived":false,"fork":false,"pushed_at":"2026-04-13T22:41:49.000Z","size":331,"stargazers_count":2,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-04-14T00:33:46.062Z","etag":null,"topics":["bug-tracker","discord-bot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avrae.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-09-22T16:10:37.000Z","updated_at":"2025-11-13T15:34:23.000Z","dependencies_parsed_at":"2024-11-12T21:29:20.197Z","dependency_job_id":"fc8e9ada-f583-4267-ab56-19b30b1a3d60","html_url":"https://github.com/avrae/taine","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/avrae/taine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avrae%2Ftaine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avrae%2Ftaine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avrae%2Ftaine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avrae%2Ftaine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avrae","download_url":"https://codeload.github.com/avrae/taine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avrae%2Ftaine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32399201,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-28T19:38:08.556Z","status":"ssl_error","status_checked_at":"2026-04-28T19:37:55.688Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bug-tracker","discord-bot"],"created_at":"2026-04-28T21:09:02.477Z","updated_at":"2026-04-28T21:09:03.230Z","avatar_url":"https://github.com/avrae.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Taine, Hunter of Bugs [![Build Status](https://travis-ci.org/avrae/taine.svg?branch=master)](https://travis-ci.org/avrae/taine) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/7c5174b6f97a4144b2c7a1a826f0bbee)](https://www.codacy.com/app/mommothazaz123/taine?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=avrae/taine\u0026amp;utm_campaign=Badge_Grade)\n\nTaine is the main bot to track Avrae bugs and feature requests in Discord.  \n\n![Taine Discord Bot](/images/taine-discord-bot.png)\n\n## How it works\nTaine is currently set to listen for issues on [avrae/avrae](https://github.com/avrae/avrae), [avrae/avrae.io](https://github.com/avrae/avrae.io), [avrae/avrae-service](https://github.com/avrae/avrae-service), and [avrae/taine](https://github.com/avrae/taine).\nWhenever an issue is opened on any of those repositories, it follows this logic:\n- Is the issue tagged with `enhancement`?\n    - If so, the issue is an internal improvement. Taine does not track it.\n- Is the issue tagged with `featurereq`?\n    - If so, track the issue and copy it to the [Avrae Development Discord Server](https://discordapp.com/channels/269275778867396608). Taine will set up a post in the [tracker channel](https://discordapp.com/channels/269275778867396608/360855116057673729) to allow users to vote on it.\n- Is the issue tagged with `bug`, or untagged?\n    - If so, track the issue as a bug and copy it to the [Avrae Development Discord Server](https://discordapp.com/channels/269275778867396608).\n\nTaine also listens to reports on the [Avrae Development Discord Server](https://discordapp.com/channels/269275778867396608).\nWhenever a report comes in that matches the proper formatting, it follows this logic:\n- Is the report logged to #bug-reports?\n  - If so, the ticket is logged as a bug report to [avrae/avrae](https://github.com/avrae/avrae).\n- Is the report logged to #feature-request and does it have more than 5 upvotes?\n  - If so, the ticket is logged as a feature request to [avrae/avrae](https://github.com/avrae/avrae).\n- Is the report logged to #web-reports?\n  - If so, the ticket is logged to [avrae/avrae.io](https://github.com/avrae/avrae.io).\n- Is the report logged to #api-reports?\n  - If so, the ticket is logged to [avrae/avrae-service](https://github.com/avrae/avrae-service).\n- Is the report logged to #taine-reports?\n  - If so, the ticket is logged to [avrae/taine](https://github.com/avrae/taine).\n\n## Requirements\n\n- Python 3.6\n\n## Configuration\n\nSet the following environment variables:\n\n- `DISCORD_TOKEN` - a Discord bot token.\n- `GITHUB_TOKEN` - a Github Personal Access Token.\n- `ORG_NAME` - name of the GitHub org your repos are in, defaults to `avrae`.\n\nOther configuration is via `constants.py`:\n\n- `OWNER_IDS` - A list of the Discord User IDs of the bot's owners. Used to check if a user can run owner-only commands.\n- `BUG_LISTEN_CHANS` - a list of dictionaries representing what channels to listen in, and the identifier and repo associated with that channel.\n- `REPO_ID_MAP` - a dictionary defining what repos to listen for issues on, and the default identifier for issues opened on those repos.\n- `TRACKER_CHAN` - the Discord Channel ID of the channel to post all generated reports.\n- `OWNER_GITHUB` - issues closed by anyone other than this username will not be marked as pending for next patch.\n- `MY_GITHUB` - the GitHub username of the bot.\n- `REACTIONS` - a list of Unicode/Discord reactions that the bot will react to reports with.\n\nAll constants must be unique.\n\n### Optional\n\nThese environment variables are optional:\n\n- `FR_APPROVE_THRESHOLD` (default 5) - The minimum score for feature requests to be added to GitHub.\n- `FR_DENY_THRESHOLD` (default -3) - The score for feature requests to be automatically closed if they fall under it.\n\n## Running the bot\n\n1. Create a [virtual environment](https://docs.python.org/3/library/venv.html): `python3 -m venv venv`.\n2. Activate the virtual environment: `source venv/bin/activate` on Unix (bash/zsh), `venv\\Scripts\\activate.bat` on Windows. You need to do this each time you open a new shell/command prompt.\n3. Install the required Python packages: `pip install -r requirements.txt`.\n4. Run the bot: `python bot.py`\n\n## Pull Requests\nMaintainers try to review PRs in a timely manner. A good PR should be descriptive, unique, and useful. Additionally, code should be readable and conform to PEP-8 standards.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favrae%2Ftaine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favrae%2Ftaine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favrae%2Ftaine/lists"}