{"id":15374374,"url":"https://github.com/warengonzaga/thread-based-support-discord-bot","last_synced_at":"2026-05-04T02:36:02.007Z","repository":{"id":148036689,"uuid":"619539796","full_name":"warengonzaga/thread-based-support-discord-bot","owner":"warengonzaga","description":"A self-hosted thread-based support Discord bot for communities.","archived":false,"fork":false,"pushed_at":"2023-03-27T10:56:24.000Z","size":34,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-04-14T09:05:02.877Z","etag":null,"topics":["bot","discord","support","thread-based"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/warengonzaga.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"license","code_of_conduct":"code_of_conduct.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"security.md","support":null,"governance":null}},"created_at":"2023-03-27T10:46:02.000Z","updated_at":"2024-04-06T20:50:12.000Z","dependencies_parsed_at":"2023-05-28T08:00:14.451Z","dependency_job_id":null,"html_url":"https://github.com/warengonzaga/thread-based-support-discord-bot","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"a16b04fa71d0eddd5274f247271e7aabbf8f265c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warengonzaga%2Fthread-based-support-discord-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warengonzaga%2Fthread-based-support-discord-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warengonzaga%2Fthread-based-support-discord-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/warengonzaga%2Fthread-based-support-discord-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/warengonzaga","download_url":"https://codeload.github.com/warengonzaga/thread-based-support-discord-bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245550606,"owners_count":20633874,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["bot","discord","support","thread-based"],"created_at":"2024-10-01T13:58:28.500Z","updated_at":"2026-05-04T02:36:01.962Z","avatar_url":"https://github.com/warengonzaga.png","language":"JavaScript","funding_links":["https://github.com/sponsors/warengonzaga"],"categories":[],"sub_categories":[],"readme":"# Thread-based Support Discord Bot\n\n\u003e **Note**: I will build a ready-made public version of this bot for the community. I will update this README once it's ready.\n\nA self-hosted thread-based support Discord bot for communities.\n\n## How to Use\n\n1. React with emoji to start a thread.\n2. Only specified role can start a thread.\n3. React with emoji or prefix command to close a thread.\n\n### Commands\n\nTo close thread using prefix command.\n\n```bash\n!close\n```\n\nTo close the thread and resolved by the username mentioned\n\n```bash\n!close @username\n```\n\n## Configurations\n\n### Config File\n\n```json\n{\n    \"emoji_assign\": \"👀\",\n    \"emoji_close\": \"✅\",\n    \"command_prefix\": \"!\",\n    \"auto_archive_duration\": 10080,\n    \"utc_offset\": -8,\n    \"datasheet_init\": \"init\",\n    \"datasheet_response\": \"response\",\n    \"datasheet_resolve\": \"resolve\"\n}\n```\n\n| Config Name | Description |\n| --- | --- |\n| `emoji_assign` | Emoji you want to use as a trigger to initiate a thread support. |\n| `emoji_close` | Emoji you want to use as a trigger to close and lock the thread support. |\n| `command_prefix` | A prefix you want to use with `close` command to be recognized by the bot. |\n| `auto_archive_duration` | Auto Archive Duration for your threads, `10080` for 1 week (in minutes). |\n| `utc_offset` | Time and date UTC offset for recording the data. |\n| `datasheet_init` | Refers to the sheet name in your google spreadsheet. This should be the first sheet in the order. |\n| `datasheet_response` | Refers to the sheet name in your google spreadsheet. This should be the second sheet in the order. |\n| `datasheet_resolve` | Refers to the sheet name in your google spreadsheet. This should be the third sheet in the order. |\n\n## Environment Variables\n\n```env\nDISCORD_BOT_TOKEN=\u003cdiscord_bot_token\u003e\nDISCORD_SUPPORT_ROLE_ID=\u003crole_id\u003e,\u003crole_id\u003e\nGOOGLE_PRIVATE_KEY=\u003cprivate_key\u003e\nGOOGLE_SERVICE_ACCOUNT_EMAIL=\u003cservice_email_account\u003e\nGOOGLE_SPREADSHEET_ID=\u003cgoogle_spreadsheet_id\u003e\n```\n\n## Development\n\n### Install the packages\n\n```bash\nyarn install\n```\n\n### Run the bot\n\n```bash\nyarn dev\n```\n\n## 📃 License\n\nThe Thread-based Support Bot is licensed under [GNU General Public License v3](https://opensource.org/licenses/GPL-3.0).\n\n## 🍀 Sponsor\n\nLove what I do? Send me some [love](https://github.com/sponsors/warengonzaga) or [coffee](https://buymeacoff.ee/warengonzaga)!? 💖☕\n\nCan't send love or coffees? 😥 Nominate me for a **[GitHub Star](https://stars.github.com/nominate)** instead!\n\n\u003e **Note**: Your support means a lot to me as it allows me to dedicate my time and energy to create and maintain open-source projects that benefits the community. Thank you for supporting my mission to make technology better, accessible and inclusive for everyone.🙏😇\n\n## 📝 Author\n\nThread-based Support Discord Bot is developed and maintained by **[Waren Gonzaga](https://github.com/warengonzaga)**, with the help of awesome [contributors](https://github.com/warengonzaga/thread-based-support-discord-bot/graphs/contributors).\n\n[![contributors](https://contrib.rocks/image?repo=warengonzaga/thread-based-support-discord-bot)](https://github.com/warengonzaga/thread-based-support-discord-bot/graphs/contributors)\n\n---\n\n💻💖☕ by [Waren Gonzaga](https://warengonzaga.com) | [He is Awesome](https://www.youtube.com/watch?v=HHrxS4diLew\u0026t=44s) 🙏\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarengonzaga%2Fthread-based-support-discord-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwarengonzaga%2Fthread-based-support-discord-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwarengonzaga%2Fthread-based-support-discord-bot/lists"}