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

    3.0.3 • 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, forms

    • Powerful and thorough command arguments parsing.

    • Development mode for limit errors

    • Full javascript and typescript support

    Getting Started 🎈

    Prerequisites

    Node.js 16.6.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', 'GUILD_MEMBERS'],
      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. ❤️

    Install

    npm i sheweny

    DownloadsWeekly Downloads

    115

    Version

    3.0.3

    License

    MIT

    Unpacked Size

    124 kB

    Total Files

    84

    Last publish

    Collaborators

    • smaug-6739