{"id":16621829,"url":"https://github.com/ravener/discord.js-coffee","last_synced_at":"2025-10-29T21:31:48.554Z","repository":{"id":39985381,"uuid":"263892941","full_name":"ravener/discord.js-coffee","owner":"ravener","description":"Discord.js Boilerplate with a basic command handler written in CoffeeScript","archived":false,"fork":false,"pushed_at":"2022-06-25T12:45:55.000Z","size":27,"stargazers_count":9,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T05:04:46.629Z","etag":null,"topics":["boilerplate","bot","coffee","coffeescript","command-handler","discord","discord-api","discordapp","discordbot","javascript","nodejs"],"latest_commit_sha":null,"homepage":null,"language":"CoffeeScript","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/ravener.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}},"created_at":"2020-05-14T11:12:27.000Z","updated_at":"2023-10-09T15:11:08.000Z","dependencies_parsed_at":"2022-06-26T02:26:29.010Z","dependency_job_id":null,"html_url":"https://github.com/ravener/discord.js-coffee","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravener%2Fdiscord.js-coffee","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravener%2Fdiscord.js-coffee/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravener%2Fdiscord.js-coffee/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ravener%2Fdiscord.js-coffee/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ravener","download_url":"https://codeload.github.com/ravener/discord.js-coffee/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238900127,"owners_count":19549457,"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":["boilerplate","bot","coffee","coffeescript","command-handler","discord","discord-api","discordapp","discordbot","javascript","nodejs"],"created_at":"2024-10-12T02:48:36.575Z","updated_at":"2025-10-29T21:31:48.138Z","avatar_url":"https://github.com/ravener.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord.js Coffee\n\n[![Discord](https://discordapp.com/api/guilds/397479560876261377/embed.png)](https://discord.gg/mDkMbEh)\n\nThis repository is a [discord.js](https://discord.js.org) boilerplate with CoffeeScript\n\nIt provides a simple command handler based off a minimal one from my other bot [Miyako](https://github.com/pollen5/miyako)\n\nThe goal is to enjoy CoffeeScript. I knew about it before but never really used it and I wanted to get a feel of the syntax in some actual project so I decided to make this boilerplate to see CoffeeScript in action and hopefully attract interested users.\n\n## Setup\nClone the repository (you will need `git` installed)\n```sh\n$ git clone https://github.com/ravener/discord.js-coffee\n$ cd discord.js-coffee\n```\nInstall Node.js v12+ if you haven't already then install dependencies:\n```sh\n$ npm install\n```\nI assume you already have experience with Discord Bots and have already made a bot account and have the token in hand, if so then rename `config.json.example` to `config.json` and fill in the required fields.\n\n## Running\nYou can run the `index.js` file with `node index.js` (or with `nodemon`/`pm2` whatever you prefer) and it will use `coffeescript/register` to compile the files on the fly.\n\nOr you can compile a full JavaScript build and run the pure output by doing `npm run build` and running the `dist/index.js` file instead.\n\nIf you changed a command use the builtin `reload`/`load` for the changes to take effect or if you changed something else then you will have to restart Node.js.\n\nNote that if you choosed the second method you will need to re-run `npm run build` to rebuild the files.\n\nPre-compiling all files will result in faster loading times but slower development process, it is a good idea to run on the fly in development and pre-compile for production. However CoffeeScript compiles pretty fast so using on the fly is even good at production and will make it easier to update the production version. Just pick what you prefer.\n\n## Commands\nThis boilerplate ships with 8 Commands to get you started.\n\n- **invite** Allows users to invite your bot, calculates invite permissions from commands' permissions.\n- **help** View help about commands.\n- **stats** Basic statistics about the bot.\n- **ping** Checks bot and API latency.\n\n**Owner Only Commands:** (These are commands that can be used by only you: the bot owner.)\n- **eval** Evaluates CoffeeScript.\n- **load** Load/Reload all events or commands.\n- **reload** Reloads a command or event.\n- **reboot** Reboot or shutdown the bot.\n\nLastly if you think there is anything missing from this boilerplate that would be nice to have or something that could be improved then feel free to open an issue.\n\nFeel free to join our [Discord Server](https://discord.gg/mDkMbEh) for any questions/discussions.\n\nLastly if you found this useful leaving a star will make me happy :)\n\n## License\nThis boilerplate code is free to be used for any purposes under the [MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravener%2Fdiscord.js-coffee","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fravener%2Fdiscord.js-coffee","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fravener%2Fdiscord.js-coffee/lists"}