{"id":14983363,"url":"https://github.com/zhon12345/ticket-bot","last_synced_at":"2025-04-06T16:12:01.127Z","repository":{"id":42193087,"uuid":"313480749","full_name":"zhon12345/Ticket-Bot","owner":"zhon12345","description":"A simple Discord ticket bot created in under 24 hours using Discord.js.","archived":false,"fork":false,"pushed_at":"2024-12-09T10:00:46.000Z","size":91,"stargazers_count":46,"open_issues_count":0,"forks_count":54,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-06T16:11:58.343Z","etag":null,"topics":["bot","discord","discord-bot","discordjs","nodejs"],"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/zhon12345.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2020-11-17T02:07:30.000Z","updated_at":"2025-02-20T10:49:38.000Z","dependencies_parsed_at":"2024-12-16T12:33:09.587Z","dependency_job_id":"ae4eb2ce-bca2-49dc-9797-488f025f967f","html_url":"https://github.com/zhon12345/Ticket-Bot","commit_stats":{"total_commits":41,"total_committers":4,"mean_commits":10.25,"dds":"0.46341463414634143","last_synced_commit":"863ec2ab167b33a353e93ebcaedfd50b3f8601c2"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhon12345%2FTicket-Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhon12345%2FTicket-Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhon12345%2FTicket-Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhon12345%2FTicket-Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhon12345","download_url":"https://codeload.github.com/zhon12345/Ticket-Bot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247509224,"owners_count":20950232,"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","discord-bot","discordjs","nodejs"],"created_at":"2024-09-24T14:07:06.932Z","updated_at":"2025-04-06T16:12:01.110Z","avatar_url":"https://github.com/zhon12345.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🎫 Ticket Bot\n\nThis project is a 24 hours challenge to make a simple Discord ticket bot using [discord.js](https://discord.js.org/).\n\n⚠️ **Disclaimer:** This bot is using discord.js v12, it has not been updated to the latest version and I currently have no plans to do so.\n\n## 💬 Commands\n\n-   Info\n\n| Command | Description                                          |\n| ------- | ---------------------------------------------------- |\n| botinfo | Displays in-depth information about the bot.         |\n| help    | Returns the help page, or one specific command info. |\n| ping    | Returns the bot's latency and API ping.              |\n| uptime  | Check how long has the bot been online.              |\n\n-   Owner\n\n| Command | Description                           |\n| ------- | ------------------------------------- |\n| eval    | Evaluate a specified JavaScript code. |\n| restart | Restarts the bot.                     |\n| test    | Checks if the bot is working.         |\n\n-   Ticket\n\n| Command    | Description                             |\n| ---------- | --------------------------------------- |\n| add        | Adds a member to a specified ticket.    |\n| close      | Closes the ticket.                      |\n| delete     | Delete a specified ticket.              |\n| new        | Creates a new ticket.                   |\n| open       | Re-opens a ticket.                      |\n| remove     | Removes a member to a specified ticket. |\n| transcript | Transcripts a specified ticket.         |\n\n## ⚙️ Environment Variables\n\nTo run this project, rename `example.env` to `.env` and fill out the following values:\n\n```\nBOT_TOKEN = your_bot_token\nBOT_PREFIX = t!\nBOT_OWNER = your_discord_id\n```\n\n## 🚀 Run Locally\n\nInstall Node.js\nusing chocolatey or [the installer](https://nodejs.org/en/download/prebuilt-installer)\n\n```bash\n  choco install nodejs-lts --version=\"20.17.0\"\n```\n\nClone the project\n\n```bash\n  git clone https://github.com/zhon12345/Ticket-Bot.git\n```\n\nGo to the project directory\n\n```bash\n  cd Ticket-Bot\n```\n\nInstall dependencies\n\n```bash\n  npm install\n```\n\nStart the bot\n\n```bash\n  npm run start\n```\n\n## 🤝 Contributing\n\nIf you'd like to contribute, please ensure the issue/suggestion doesn't already exists. You can [create an issue](https://github.com/zhon12345/Ticket-Bot/issues/new) or [fork this repository](https://github.com/zhon12345/Ticket-Bot/fork) and submit a pull request.\n\n## ❓ Feedback\n\nIf you have any feedback, you can reach me on my [Discord server](https://discord.gg/jMpw3jw).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhon12345%2Fticket-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhon12345%2Fticket-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhon12345%2Fticket-bot/lists"}