Giter VIP home page Giter VIP logo

spimy / muse-cli Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 4.0 2.76 MB

MuseCLI generates a discord.js bot with music features for you. You can use the generate command to automatically generate boilerplate for commands and events so you don't have to keep re-writing the same code every time you create a new component.

License: MIT License

JavaScript 29.89% TypeScript 70.11%
nodejs discord-music-bot discordjs typescript javascript muse muse-cli music-bot cli commands

muse-cli's Introduction

Typing SVG

Mail Badge Twitter Badge Instagram GitHub followers

Spimy's GitHub stats Spimy's most used languages

Languages and Tools ๐Ÿ› ๏ธ

html logo css logo sass logo js logo ts logo nodejs logo python logo

git logo vscode logo xd logo gimp logo

muse-cli's People

Contributors

dependabot[bot] avatar spimy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

muse-cli's Issues

refactor/bot/loop-command-boolean-check

image
The boolean check on line 5 from the image is unnecessary as the values can only ever be true or false from the check on line 2 of the image
Needs to strict comparison check on line 4 of the image

Skip Music Tweaks

If vote count is set to voice channel user count and a user voted but left the channel it could cause potential bugs

Example Scenario

  • Music playing
  • Vote count is set to voice channel size
  • There are 6 people in the voice channel so 6 votes are needed to skip (excluding bot itself)
  • A user voted and left the channel (the user is now part of the vote but 5 votes are needed now)
  • Another user joins that voice channel
  • This means it needs 6 votes again but it'll still require only 5 because of the user who left

Hence, kind of a bug. The best way to fix this is to remove the user who left the voice channel from the votes.

refactor/bot/check-playing-property

Checking whether music is playing in commands should the playing property of the queue instead of whether there is a current music playing.

refactor/bot/regex-in-config-file

Add the url regex as a property of the client. This removes the need to repeat the regex in separate files (by default only play and search command) and if people ever need to use the url regex during development, it will be there.

Event template simplification

Use objects to store arguments and imports of an event (object key) instead of using 2 separate objects to store both.

Config reset

The config is not reset during release. It should contain blank info for people to fill in themselves except the default prefix.

feature/bot/mongodb-integration

Having MongoDB integration as the backend database system could be interesting and easy for users to make use of. Perhaps using Mongoose npm wrapper included in MuseCLI. Would love to see that happen. ๐Ÿ‘

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.