{"id":14983490,"url":"https://github.com/sheweny/framework","last_synced_at":"2025-06-27T16:35:32.777Z","repository":{"id":43675242,"uuid":"396018007","full_name":"Sheweny/framework","owner":"Sheweny","description":"✨ A framework to create discord bots with discord.js. Modular | Flexible | Powerful | Development | Interactions","archived":false,"fork":false,"pushed_at":"2023-07-20T12:14:41.000Z","size":4362,"stargazers_count":48,"open_issues_count":11,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-09-24T12:02:55.389Z","etag":null,"topics":["bot","discord","discord-api","discord-bot","discord-js","discordapp","framework","nodejs","typescript"],"latest_commit_sha":null,"homepage":"https://sheweny.js.org","language":"TypeScript","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/Sheweny.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":["Smaug6739"]}},"created_at":"2021-08-14T13:30:38.000Z","updated_at":"2024-08-04T15:16:11.000Z","dependencies_parsed_at":"2024-06-21T16:53:45.482Z","dependency_job_id":"c567bea1-2b02-42ef-b7ae-76088c4d3297","html_url":"https://github.com/Sheweny/framework","commit_stats":{"total_commits":533,"total_committers":5,"mean_commits":106.6,"dds":0.2045028142589118,"last_synced_commit":"31c7ca475660499a7019ec689faa079bd8205ea4"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sheweny%2Fframework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sheweny%2Fframework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sheweny%2Fframework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sheweny%2Fframework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sheweny","download_url":"https://codeload.github.com/Sheweny/framework/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219867875,"owners_count":16554375,"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-api","discord-bot","discord-js","discordapp","framework","nodejs","typescript"],"created_at":"2024-09-24T14:07:17.141Z","updated_at":"2024-09-24T15:24:23.510Z","avatar_url":"https://github.com/Sheweny.png","language":"TypeScript","readme":"# Sheweny\n\n![sheweny](https://cdn.discordapp.com/attachments/881988260925153322/882027519753224244/sheweny_baniere.png)\n\n\u003cdiv align=\"center\"\u003e\n\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg?style=flat-square)](https://github.com/Sheweny/Spiritus)\n[![made-with-Typescript](https://img.shields.io/badge/Made%20with-Typescript-1f425f.svg?style=flat-square)](http://commonmark.org)\n[![GitHub license](https://img.shields.io/github/license/Sheweny/framework.svg?style=flat-square)](https://github.com/Sheweny/framework/LICENSE)\n[![GitHub tag](https://img.shields.io/github/tag/Sheweny/framework.svg?style=flat-square)](https://github.com/Sheweny/framework/tags/)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n![Compatible JS](https://img.shields.io/badge/Compatible-Typescript-informational?style=flat\u0026logo=Code\u0026logoColor=white\u0026color=2bbc8a)\n![Compatible TS](https://img.shields.io/badge/Compatible-Javascript-informational?style=flat\u0026logo=Code\u0026logoColor=white\u0026color=2bbc8a)\n\n\u003c/div\u003e\n\n## About\n\nSheweny is a framework for creating Discord bots in TypeScript. This repository contains multiple packages with separate releases.\n\n## Packages\n\n- [@sheweny/framework](./packages/sheweny/) - The main package of the framework.\n- [@sheweny/heweny](./packages/heweny) - A package to create structures (commands, events, buttons etc.) with objects.\n- [@sheweny/resolve](./packages/resolve/) - A package to parse strings and isolate structures from names, mentions, tags, parts etc. of users, guilds, channemls, roles etc.\n- [@sheweny/markdown](./packages/markdown/) - A package to parse \u0026 create markdown strings with Discord markdown style.\n- [@sheweny/mistial](./packages/mistial/) - A package to interact with databases (MongoDB, MySQL, PostgreSQL, SQLite...).\n- [@sheweny/utils](./packages/utils/) - A package with multiple utilities functions.\n\n## Examples\n\n### Simple client\n\n```js\nimport { ShewenyClient } from '@sheweny/framework';\n\nconst client = new ShewenyClient({\n  intents: ['Guilds', 'GuildMembers', 'GuildMessages'],\n  managers: {\n    commands: {\n      directory: './commands',\n      applicationPermissions: true, // Enable slash-commands permissions\n    },\n    events: {\n      directory: './events',\n    },\n    buttons: {\n      directory: './buttons',\n    },\n  },\n});\n```\n\n### Simple command\n\n```js\nconst { Command } = require('sheweny');\n\nclass PingCommand extends Command {\n  constructor(client) {\n    super(client, {\n      name: 'ping',\n      description: 'Ping Pong',\n      type: 'SLASH_COMMAND',\n      cooldown: 5, // 5 seconds\n    });\n  }\n\n  async execute(interaction) {\n    interaction.reply({ content: 'Pong!' });\n  }\n}\n\nmodule.exports = PingCommand;\n```\n\nThis project has an MIT license. And you are welcome to contribute.\nFor more details on contributions, please read the [CONTRIBUTING.md](./CONTRIBUTING.md) file.\n\n## Help\n\nIf you need help with the framework or your bot you can open an issue for bugs report or [join the discord server](https://discord.gg/qgd85nEf5a) for questions.\n","funding_links":["https://github.com/sponsors/Smaug6739"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheweny%2Fframework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsheweny%2Fframework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsheweny%2Fframework/lists"}