diff options
| author | Max Isom <[email protected]> | 2020-03-14 22:03:31 -0500 |
|---|---|---|
| committer | Max Isom <[email protected]> | 2020-03-14 22:03:31 -0500 |
| commit | d70bd167973b5171dbe82bac2daba04e73602bfa (patch) | |
| tree | 885f1a1b992cfea6002763742af7311f665a0a1f /src/inversify.config.ts | |
| parent | 9e1d656e520b88a9c88f3ac6ebfd73843cc821f1 (diff) | |
| download | muse-d70bd167973b5171dbe82bac2daba04e73602bfa.tar.xz muse-d70bd167973b5171dbe82bac2daba04e73602bfa.zip | |
Add queue clear command
Diffstat (limited to 'src/inversify.config.ts')
| -rw-r--r-- | src/inversify.config.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inversify.config.ts b/src/inversify.config.ts index 275077c..e538183 100644 --- a/src/inversify.config.ts +++ b/src/inversify.config.ts @@ -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(); |
