diff options
| author | Max Isom <[email protected]> | 2020-03-13 20:36:42 -0500 |
|---|---|---|
| committer | Max Isom <[email protected]> | 2020-03-13 20:36:42 -0500 |
| commit | fb91c8e89cb34465315ac3c9f4f11e27ec577348 (patch) | |
| tree | 66fef9fdceaee601d02f8f13eb91e47292c59546 /src/inversify.config.ts | |
| parent | c446e0fd57cec0ea2fb0211bd99841e5ddde0cf6 (diff) | |
| download | muse-fb91c8e89cb34465315ac3c9f4f11e27ec577348.tar.xz muse-fb91c8e89cb34465315ac3c9f4f11e27ec577348.zip | |
Add better caching, seek 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 a042748..f6f178b 100644 --- a/src/inversify.config.ts +++ b/src/inversify.config.ts @@ -24,6 +24,7 @@ import Command from './commands'; import Config from './commands/config'; import Play from './commands/play'; import QueueCommad from './commands/queue'; +import Seek from './commands/seek'; let container = new Container(); @@ -39,6 +40,7 @@ container.bind<Queue>(TYPES.Services.Queue).to(Queue).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(); +container.bind<Command>(TYPES.Command).to(Seek).inSingletonScope(); // Config values container.bind<string>(TYPES.Config.DISCORD_TOKEN).toConstantValue(DISCORD_TOKEN); |
