{"id":24763394,"url":"https://github.com/jkergal/drafty-v0","last_synced_at":"2026-04-17T01:31:41.819Z","repository":{"id":107083685,"uuid":"433142770","full_name":"jkergal/drafty-v0","owner":"jkergal","description":"A Discord bot that automatically organizes draft tournaments on Magic The Gathering Discord servers.","archived":false,"fork":false,"pushed_at":"2022-12-07T22:20:17.000Z","size":254,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T14:35:25.274Z","etag":null,"topics":["bot","discord","discord-bot","discord-js","javascript","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jkergal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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}},"created_at":"2021-11-29T17:50:09.000Z","updated_at":"2023-02-09T19:38:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"428d1545-2777-44ef-9d09-f6a4034522db","html_url":"https://github.com/jkergal/drafty-v0","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jkergal/drafty-v0","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkergal%2Fdrafty-v0","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkergal%2Fdrafty-v0/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkergal%2Fdrafty-v0/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkergal%2Fdrafty-v0/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jkergal","download_url":"https://codeload.github.com/jkergal/drafty-v0/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jkergal%2Fdrafty-v0/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31911443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["bot","discord","discord-bot","discord-js","javascript","nodejs"],"created_at":"2025-01-28T20:27:14.664Z","updated_at":"2026-04-17T01:31:41.749Z","avatar_url":"https://github.com/jkergal.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Drafty\nA Discord bot that automatically organizes draft tournaments on Magic The Gathering Discord servers.\n\n## Warning \nThis bot is made for a specific Discord server. The french community of Magic The Gathering (Arena) players built several severs to improce the competitive pratice. One of them is about the limited format called \"Draft\".\nYou can obviously fork the code to inspire you, but it may not fit to your server.\n\n## Description\nDrafty does several things :\n- it posts a scheduled message with the cron library, and puts reactions on it : this is a message proposing to members draft tournaments dates for the next week. 1 tournament per day of the week, so 1 reaction for each day.\n- it collects all reaction from members on each emoji, and records all the entries in arrays\n- when 8 users registered to one date, a \"table\" is complete : Drafty posts a check-in message in a specific channel\n- then, the array for this day is cleared and regitrations are now open for a second table\n\n## Environment Variables\n\nTo run this project, you will need to add the following environment variables to your .env file\n\n`DISCORD_TOKEN`\n\n`PREFIX`\n\n\n## Installation\n\nTo run this project, you'll need to install with npm :\n\n```discord.js\n  npm install discord.js\n```\n```cron\n  npm install cron\n```   \n```dotenv\n  npm install dotenv\n```  \n## Authors\n\n- [@jkergal](https://github.com/jkergal) (hello@johannkergal.fr)\n\n\n## 🔗 Links\n[![website](https://img.shields.io/badge/my_website-000?style=for-the-badge\u0026logo=ko-fi\u0026logoColor=white)](https://johannkergal.fr/)\n[![linkedin](https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge\u0026logo=linkedin\u0026logoColor=white)](https://www.linkedin.com/in/johannkergal)\n[![twitter](https://img.shields.io/badge/twitter-1DA1F2?style=for-the-badge\u0026logo=twitter\u0026logoColor=white)](https://twitter.com/zetyd)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkergal%2Fdrafty-v0","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjkergal%2Fdrafty-v0","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjkergal%2Fdrafty-v0/lists"}