Git Product home page Git Product logo

mkbot's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar minhyungk avatar mycroftkang avatar myftbot avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mycroftkang

mkbot's Issues

Music Command

Description of the new feature/enhancement

A command that allows MK bot to play music in a voice channel using Youtube.

  • Music searching method: //music play "thinking out loud"
  • Youtube URL request available //music play "www.youtube.com/watchv=ZbZSe6N_BXs&ab_channel=PharrellWilliamsVEVO"
  • Able to play Youtube playlist
  • Function to play series of music automatically (can specify genre, singer, etc.) : //music play auto "jazz"

//music stop
//music pause
//music skip
//music list
//music delete
....

Proposed technical implementation details (optional)

  • Youtube playing: YoutubeDL
  • automatic music play: needs ideas

Music Command Further Updates

Description of the new feature/enhancement

1. Change command format to subcommands, add configuration settings that allows the user to choose subcommands or not
//play => //music play

  1. delete specific song in queue
    //queue delete 3
    deletes 3rd song in queue

  2. Youtube playlist playing command
    //play "playlist url"
    plays the whole playlist

  3. automatically suggest and play songs
    //play "keyword" auto
    automatically plays songs related to the keyword infinitely
    ex) //play "jazz" auto
    Closed by #261

  4. play desired song right away
    //play "keyword" -now

Proposed technical implementation details (optional)

subcommands: https://stackoverflow.com/questions/50548316/subcommands-in-python-bot

Improve performance of auto update

Description of the new feature/enhancement

We introduced a new way of automatic update at 863fb80 and 394cb4f, but the update speed has been slightly slower. This is due to performance issues with CopyFiles and RMDir which are NSIS commands.

Proposed technical implementation details (optional)

I think that the file move operation needs to be implemented separately via C# and C++.

Command raised an exception: AttributeError: 'NoneType' object has no attribute 'title'

Describe the bug

Command raised an exception: AttributeError: 'NoneType' object has no attribute 'title'

Steps to reproduce

type .play [youtube link]

Expected behavior

Screenshots

Environment

  • OS: Windows 10
  • MK Bot Version 1.4.0.7224f1a

ABRT Logs

Traceback (most recent call last):
  File "discord\ext\commands\core.py", line 85, in wrapped
  File "core\utils\MGCert.py", line 121, in outerfunc
  File "core\music.py", line 197, in play
AttributeError: 'NoneType' object has no attribute 'title'

Version: 1.4.0 Canary
Commit: 7224f1a85fb0539bb7697520a8fcb90985df614c
OS: Windows 10 10.0.19041 SP0

Possible fixes

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.