sheweny
TypeScript icon, indicating that this package has built-in type declarations

4.2.1 • Public • Published

Sheweny

sheweny

Maintenance made-with-Typescript GitHub license GitHub tag PRs Welcome

Sheweny is a framework for create discord bots with javascript (or typescript).

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 :

npm install sheweny

With yarn :

yarn add sheweny

Command Line interface

You can also use our official Command Line Interface for create your bot and/or add components like commands, events etc.

image

Useful links 📖

Example 👀

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 file.

Contributors 💡

Help 👍

If you need help with the framework or your bot you can open an issue for bugs report or join the discord server for the questions.


Thank you to everyone who contributes to the project. Thanks also to all the people who use it. ❤️

Versions

Current Tags

Version History

Package Sidebar

Install

npm i sheweny

Weekly Downloads

36

Version

4.2.1

License

MIT

Unpacked Size

373 kB

Total Files

141

Last publish

Collaborators

  • smaug-6739