Git Product home page Git Product logo

framework's Introduction

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', '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. ❤️

framework's People

Contributors

smaug6739 avatar natchi59 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.