mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-11 12:21:37 +02:00
Add queue clear command
This commit is contained in:
parent
9e1d656e52
commit
d70bd16797
3 changed files with 45 additions and 4 deletions
|
@ -21,6 +21,7 @@ import Player from './services/player';
|
|||
|
||||
// Comands
|
||||
import Command from './commands';
|
||||
import Clear from './commands/clear';
|
||||
import Config from './commands/config';
|
||||
import Play from './commands/play';
|
||||
import QueueCommad from './commands/queue';
|
||||
|
@ -38,6 +39,7 @@ container.bind<Player>(TYPES.Services.Player).to(Player).inSingletonScope();
|
|||
container.bind<Queue>(TYPES.Services.Queue).to(Queue).inSingletonScope();
|
||||
|
||||
// Commands
|
||||
container.bind<Command>(TYPES.Command).to(Clear).inSingletonScope();
|
||||
container.bind<Command>(TYPES.Command).to(Config).inSingletonScope();
|
||||
container.bind<Command>(TYPES.Command).to(Play).inSingletonScope();
|
||||
container.bind<Command>(TYPES.Command).to(QueueCommad).inSingletonScope();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue