{"id":30739149,"url":"https://github.com/snippik/djs-framework","last_synced_at":"2025-09-03T22:45:52.891Z","repository":{"id":312100305,"uuid":"1046285926","full_name":"SNIPPIK/djs-framework","owner":"SNIPPIK","description":"A framework that simplifies the process of creating commands, components (buttons, selectors), events, etc.","archived":false,"fork":false,"pushed_at":"2025-08-28T15:11:05.000Z","size":40,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-28T21:13:29.080Z","etag":null,"topics":["discord-slash-commands","discordjs-command-handler","discordjs-framework","discordjs-v14"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SNIPPIK.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,"zenodo":null}},"created_at":"2025-08-28T13:14:12.000Z","updated_at":"2025-08-28T15:11:08.000Z","dependencies_parsed_at":"2025-08-28T21:13:32.312Z","dependency_job_id":"371ef0a2-ec82-47cd-9679-c271e399d911","html_url":"https://github.com/SNIPPIK/djs-framework","commit_stats":null,"previous_names":["snippik/djs-framework"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/SNIPPIK/djs-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SNIPPIK%2Fdjs-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SNIPPIK%2Fdjs-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SNIPPIK%2Fdjs-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SNIPPIK%2Fdjs-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SNIPPIK","download_url":"https://codeload.github.com/SNIPPIK/djs-framework/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SNIPPIK%2Fdjs-framework/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273523644,"owners_count":25120864,"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-09-03T02:00:09.631Z","response_time":76,"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":["discord-slash-commands","discordjs-command-handler","discordjs-framework","discordjs-v14"],"created_at":"2025-09-03T22:45:49.746Z","updated_at":"2025-09-03T22:45:52.883Z","avatar_url":"https://github.com/SNIPPIK.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple framework for discord.js\n- Support: SlashCommand, Components (Buttons, Selectors), Middlewares, Events\n- Detail: Application User Commands, Guild Commands, Private Commands, User Commands\n\n\n### Fast Example\n- For more details see [here](https://github.com/SNIPPIK/djs-framework/tree/main/.example)\n```ts\nimport { Client } from \"discord.js\";\nimport { DjsFramework } from \"snpk-djs-framework\";\n\nconst client = new Client({\n    // Bot intents\n    intents: [\n        \"Guilds\",\n        \"GuildMessages\",\n        \"DirectMessages\",\n        \"GuildVoiceStates\",\n    ]\n});\n\n// Load DjsFramework\nconst djs_frame = new DjsFramework({\n    locations: {\n        base: \"src\",\n        commands: \"handlers/commands\",\n        events: \"handlers/events\",\n        components: \"handlers/components\",\n        middlewares: \"handlers/middlewares\"\n    },\n    ownerIDs: [\"312909267327778818\"],\n    failCallbacks: {\n        onDontOwner: (ctx) =\u003e {\n            console.log(ctx);\n        },\n\n        onPermissionsClient: (ctx) =\u003e {\n            console.log(ctx);\n        },\n\n        onPermissionsUser: (ctx) =\u003e {\n            console.log(ctx);\n        }\n    }\n});\n\n// Login\nclient.login(\"\").then(() =\u003e {\n    djs_frame.register(client);\n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnippik%2Fdjs-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnippik%2Fdjs-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnippik%2Fdjs-framework/lists"}