Skip to content
This repository was archived by the owner on Nov 13, 2022. It is now read-only.

Plugins: Improve Plugins Support #86

Open
@anishshobithps

Description

@anishshobithps

Yes i know its not a great thing to do honestly, but I don't think we are doing a quite a lot of work doing the plugin system. We can create a Provider class which is gonna be base class for all the derived class . All the music providers will be handled internally and we can provide options in the Options to enable any feature or any particular media files you want erela.js to resolve and play .

├── Structures
│   ├── Provider.ts
├── Providers
│   ├── Spotify.ts
│   ├── Facebook.ts
│   └── Attachement.ts
└── End

Lets make sure its type safe too.

This is just a suggestion , you can provide your thoughts on this below.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions