Coder Social home page Coder Social logo

mouse484 / ecstar Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 3.0 1.52 MB

The easiest JavaScript/TypeScript Discord bot framework.

Home Page: http://ecstar.js.org

License: MIT License

JavaScript 2.38% TypeScript 97.45% Dockerfile 0.17%
discord discord-js ecstar

ecstar's Introduction

ecstar's People

Contributors

acrylic-style avatar dependabot-preview[bot] avatar mouse484 avatar takumi091111 avatar yuta0801 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ecstar's Issues

Ecstar Options is not required (!)

Describe the bug

Steps to reproduce

Expected behavior

version

  • OS: [e.g. Window, Linux]
  • Node [e.g. v12.14,v13.7]
  • Package Manager [e.g. yarn v1.21,npm v6.13]
  • Ecstar [e.g. v3.0.0]

Additional context

featureRequest - command aliases

コマンドのエイリアス

module.exports = class extends command {
    constructor(client) {
        super(client, {
		name: 'help',
		aliases: ['tasukete', '助けて', 'ヘルプ'],
        });
    }
    run(message) {
              //...
    }
};

set config

settingにbotについての各種設定(特にID関連)を保存できるように

Command option - if Run

If before command execution

Like this:

ifRun: message => message.channel.id === 'id';

Solve problems #76

But the same as adding an if at the beginning of the run function

Request - help command

結構前にもこの話あったような気がするけどgithubのissuesに置いとく
ja: ヘルプコマンド

imports

  • Unify by deriving from base class

  • Import directories recursively

Request - guilds only

指定したギルドのみ実行可能
help command にも対応してほしい #44

export = class extends Command {
  constructor(client) {
    super(client, {
      name: 'command name', //Required
      guildsonly: ['443320971609374721', '391390986770710528'] // <--ここ
    });
  }
  run(message) {
    // ...
  }
};

reduce any 

use anycop->err

Whether there is something else good

featureRequest - command Switch

コマンドをオンオフする方法はコマンドでやるみたいな、たとえば
(プレフィックス)cmdswitch [コマンドの名前] [false or true]

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.