sheweny
Version:
The powerful framework for create discord bots
128 lines (89 loc) • 3.81 kB
Markdown
# Sheweny

<div align="center">
[](https://github.com/Smaug6739/Spiritus)
[](http://commonmark.org)
[](https://github.com/Smaug6739/master/LICENSE)
[](https://github.com/Sheweny/framework/tags/)
[](http://makeapullrequest.com)
</div>
Sheweny is a framework for create discord bots with javascript (or typescript).
- [Sheweny](#sheweny)
- [Main feactures](#main-features-)
- [Getting started](#getting-started-)
- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Command Line Interface](#command-line-interface)
- [Useful links](#useful-links-)
- [Example](#example-)
- [Contributing](#contributing-)
- [Contributors](#contributors-)
- [Help](#help-)
## Main features ✨
- Modular and reloadable commands, inhibitors, events and interactions.
- Flexible command handling and creation.
- Interactions support like slash-commands, buttons, select-menus, modals.
- Powerful and thorough command arguments parsing.
- Development mode to limit errors.
- Full javascript and typescript support.
## Getting Started 🎈
### Prerequisites
Node.js 16.9.0 or newer is required.
### Installation
With npm :
```sh-session
npm install sheweny
```
With yarn :
```sh-session
yarn add sheweny
```
### Command Line interface
You can also use our official [Command Line Interface](https://github.com/Sheweny/CLI) for create your bot and/or add components like commands, events etc.

## Useful links 📖
- [Website](https://sheweny.js.org)
- [Documentation](https://sheweny.js.org/doc)
- [Guide](https://sheweny.js.org/guide)
- [NPM Registry](https://www.npmjs.com/package/sheweny)
- [Discord server](https://discord.gg/qgd85nEf5a)
- [GitHub organization](https://github.com/Sheweny)
## Example 👀
```js
const { ShewenyClient } = require('sheweny');
const config = require('./config.json');
const client = new ShewenyClient({
admins: ['611468402263064577'],
intents: ['Guilds', 'GuildMembers'],
partials: ['GUILD_MEMBER'],
mode: 'development',
managers: {
commands: {
directory: './commands',
guildId: ['877090306103840778'],
prefix: '!',
},
events: {
directory: './events',
},
buttons: {
directory: './interactions/buttons',
},
selectMenus: {
directory: './interactions/selectMenus',
},
},
});
client.login(config.token);
```
## Contributing 🌍
This project has an MIT license. And you are welcome to contribute.
For more details on contributions, please read the [CONTRIBUTING.md](./CONTRIBUTING.md) file.
## Contributors 💡
- [Smaug6739](https://github.com/Smaug6739) - Developer and project owner.
- [Natchi59](https://github.com/Natchi59) - Old Sheweny developer
- [Ludo-Code](https://github.com/Ludo-code) - Tester of the framework and helper
## Help 👍
If 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 the questions.
---
> Thank you to everyone who contributes to the project. Thanks also to all the people who use it. ❤️