{"id":22310422,"url":"https://github.com/stuyy/slappey","last_synced_at":"2025-07-29T07:33:06.697Z","repository":{"id":42441462,"uuid":"259154187","full_name":"stuyy/slappey","owner":"stuyy","description":"Discord Bot Project Generator","archived":false,"fork":false,"pushed_at":"2023-06-02T15:05:57.000Z","size":617,"stargazers_count":218,"open_issues_count":37,"forks_count":49,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-07-06T21:16:26.624Z","etag":null,"topics":["bot","discord","generator"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/stuyy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"ko_fi":"anson","patreon":"stuyy"}},"created_at":"2020-04-26T23:21:19.000Z","updated_at":"2025-06-04T17:56:29.000Z","dependencies_parsed_at":"2023-02-06T12:32:06.122Z","dependency_job_id":null,"html_url":"https://github.com/stuyy/slappey","commit_stats":null,"previous_names":["ansonfoong/slappey"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/stuyy/slappey","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuyy%2Fslappey","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuyy%2Fslappey/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuyy%2Fslappey/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuyy%2Fslappey/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stuyy","download_url":"https://codeload.github.com/stuyy/slappey/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuyy%2Fslappey/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267646081,"owners_count":24120939,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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","generator"],"created_at":"2024-12-03T21:01:24.951Z","updated_at":"2025-07-29T07:33:06.689Z","avatar_url":"https://github.com/stuyy.png","language":"TypeScript","funding_links":["https://ko-fi.com/anson","https://patreon.com/stuyy"],"categories":["TypeScript"],"sub_categories":[],"readme":"# Slappey\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://img.shields.io/npm/dw/slappey?style=for-the-badge\"\u003e\n  \u003cimg src=\"https://img.shields.io/npm/v/slappey?style=for-the-badge\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/forks/stuyy/slappey?style=for-the-badge\"\u003e\n  \u003cimg src=\"https://img.shields.io/github/stars/stuyy/slappey?style=for-the-badge\"\u003e\n  \u003cimg src=\"https://img.shields.io/discord/582319490122121247?style=for-the-badge\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003eSlap together a Discord Bot project in seconds!\u003c/p\u003e\n\n![slappey-logo](https://i.imgur.com/q4ofLAo.png)\n\n## What is Slappey?\n\nSlappey is a CLI (Command Line Interface) tool that lets you generate a Discord.JS project in a matter of seconds.\n\n## Why Slappey?\n\nDo you use a Command/Event Handler? Are you tired of having to copy \u0026 paste the same files over and over again, or cloning a repository? Slappey serves as a purpose to eliminate the annoyance of doing that. Instead, with a simple command, Slappey will generate a base structure for your next Discord Bot Project.\n\nIt does so by using the most basic command \u0026 event handler. Simplicity is key. And since it works well, why change it? Regardless, if you need to try some things out without needing to re-write the same functions all the time, Slappey is great for that.\n\nIt also eliminates the abstraction away from users so they need not worry about how commands and events are registered. It will just work out of the box.\n\n## What Slappey is NOT\n\n- Framework\n- Library\n- Discord Bot (It is a Discord Bot Project **generator**)\n- Replacement for coding\n\n# Getting Started\n\nInstall slappey by running `npm install -g slappey` or `yarn global add slappey` on your terminal or Windows CMD. This will install Slappey globally.\n\n- To create a project, type `slappey`, or simply type `slappey new \u003cname of project\u003e` in your Terminal or Command Prompt.\n- Follow the steps and enter your Bot Token and Prefix.\n- Once done, `cd` into your project by typing `cd \u003cname of project\u003e`\n- To run the bot, type `npm run dev` or `yarn dev`. This will run the bot using `nodemon` which is installed locally.\n\n## Generating Commands\n\n- Slappey allows you to generate commands into categories. You can type `slappey` and select **Generate** to generate a command, or `slappey gen command`.\n- It will ask you for a name, and then a category. This will generate all commands in the `src/commands` folder, in the correct category.\n- You can also generate a command by typing `slappey gen command`. This will prompt you for a command name and category.\n\n## Generating Events\n\n- You can generate events by running `slappey gen event`, this will prompt you to select which events you would like to generate.\n- To select event(s), press space bar and use the up and down arrow keys to navigate. Hit enter when you're done and your event files will be generated in the `src/events` folder.\n\n## Will Slappey support TypeScript?\n\n- ~~Soon~~\n\nSlappey now supports TypeScript as of 6/1/2020!\n\n~~You must have TypeScript installed. However, if you don't, during the installation process, if you selected TypeScript, Slappey will ask you if you would like to install TypeScript, ts-node, and setup a basic tsconfig.json file. If you enter n (no), you will have to install these manually.~~\n\n~~ts-node is a TypeScript interpreter for Node.JS, the dev script uses it along with nodemon, so be sure you have nodemon installed.~~\n\n~~Otherwise, if you have TypeScript installed, you can skip this part and just run `npm run build` and then `npm run start`~~\n\n## Will Slappey support Python?\n\n- Soon\n\n# Recipes\n\n### Integrating with Sequelize\n\n```\nImplementation Provided Soon\n```\n\n### Integrating with Mongoose\n\n```\nImplementation Provided Soon\n```\n\n### Integrating with MongoDB\n\n```\nImplementation Provided Soon\n```\n\n### Integrating with QuickDB\n\n```\nImplementation Provided Soon\n```\n\n### Integrating with Lavalink\n\n```\nImplementation Provided Soon\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuyy%2Fslappey","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstuyy%2Fslappey","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuyy%2Fslappey/lists"}