{"id":17347445,"url":"https://github.com/hex2f/cask","last_synced_at":"2026-01-20T14:33:16.697Z","repository":{"id":40745705,"uuid":"194173824","full_name":"hex2f/Cask","owner":"hex2f","description":"A unique Discord bot that lets you create your own commands using JavaScript, from the chatbox.","archived":false,"fork":false,"pushed_at":"2022-09-28T13:11:08.000Z","size":69,"stargazers_count":3,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-06T12:18:36.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/hex2f.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}},"created_at":"2019-06-27T23:03:49.000Z","updated_at":"2021-07-21T00:41:15.000Z","dependencies_parsed_at":"2023-01-18T09:47:46.655Z","dependency_job_id":null,"html_url":"https://github.com/hex2f/Cask","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hex2f/Cask","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex2f%2FCask","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex2f%2FCask/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex2f%2FCask/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex2f%2FCask/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hex2f","download_url":"https://codeload.github.com/hex2f/Cask/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hex2f%2FCask/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28604917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T12:01:53.233Z","status":"ssl_error","status_checked_at":"2026-01-20T12:01:46.545Z","response_time":117,"last_error":"SSL_read: 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":[],"created_at":"2024-10-15T16:48:47.234Z","updated_at":"2026-01-20T14:33:16.672Z","avatar_url":"https://github.com/hex2f.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Cask Header](https://i.imgur.com/Z0uGcfV.png)\n## What is it?\nCask is a unique Discord bot that lets you create entirely custom commands using JavaScript. It's very simple to use, you just write your code in a code block where you have access to the Discord.JS message object, fetch and the NodeJS crypto api. You can also install cool commands others have published using [\u003ecask install](https://github.com/RekkyRek/cask/blob/master/docs/install.md) or publish your own commands using [\u003ecask publish](https://github.com/RekkyRek/cask/blob/master/docs/publish.md).\n\n## How does it work?\nEvery time a message is sent with the selected prefix in the beginning of the message, `\u003e` by default, it looks up any stored commands for your server.\nIf it finds any matching commands, it instantiates a new JavaScript virtual machine which has the following variables in its global scope:\n\n| Variable Name                                                  | Description                                                   |\n|----------------------------------------------------------------|---------------------------------------------------------------|\n| [msg](https://discord.js.org/#/docs/main/stable/class/Message) | The Discord.JS message object.                                |\n| [fetch](https://www.npmjs.com/package/node-fetch)              | An instance of node-fetch, so you can interact with APIs etc. |\n| [crypto](https://nodejs.org/api/crypto.html)                   | The NodeJS crypto API.                                        |\n\n## Commands\n| Command                                                                             | Description                                        |\n|-------------------------------------------------------------------------------------|----------------------------------------------------|\n| [\u003ecask new](https://github.com/RekkyRek/cask/blob/master/docs/new.md)               | Create a new local command.                        |\n| [\u003ecask install](https://github.com/RekkyRek/cask/blob/master/docs/install.md)       | Install a command.                                 |\n| [\u003ecask remove](https://github.com/RekkyRek/cask/blob/master/docs/remove.md)         | Remove a command.                                  |\n| [\u003ecask list](https://github.com/RekkyRek/cask/blob/master/docs/list.md)             | List all installed commands.                       |\n| [\u003ecask vote](https://github.com/RekkyRek/cask/blob/master/docs/vote.md)             | Show your appreciation for a cask by voting.       |\n| [\u003ecask search](https://github.com/RekkyRek/cask/blob/master/docs/search.md)         | Search for a cask.                                 |\n| [\u003ecask top](https://github.com/RekkyRek/cask/blob/master/docs/top.md)               | Shows you the top voted casks.                     |\n| [\u003ecask publish](https://github.com/RekkyRek/cask/blob/master/docs/publish.md)       | Publish one of your local commands.                |\n| [\u003ecask unpublish](https://github.com/RekkyRek/cask/blob/master/docs/unpublish.md)   | Unpublish one of your casks.                       |\n| [\u003ecask permission](https://github.com/RekkyRek/cask/blob/master/docs/permission.md) | Manage who can use what.                           |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex2f%2Fcask","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhex2f%2Fcask","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhex2f%2Fcask/lists"}