aboutsummaryrefslogtreecommitdiff
path: root/src/inversify.config.ts
diff options
context:
space:
mode:
authorMax Isom <[email protected]>2020-03-15 16:55:44 -0500
committerMax Isom <[email protected]>2020-03-15 16:55:44 -0500
commite55acbb718c5b36315010b5d093b1554712aca4b (patch)
treed8842aecec9555e9d89267032a8fa82d56986757 /src/inversify.config.ts
parent3c169d113c21fc4f067400cf837b71abfc2f161d (diff)
downloadmuse-e55acbb718c5b36315010b5d093b1554712aca4b.tar.xz
muse-e55acbb718c5b36315010b5d093b1554712aca4b.zip
Add skip/unskip
Diffstat (limited to 'src/inversify.config.ts')
-rw-r--r--src/inversify.config.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inversify.config.ts b/src/inversify.config.ts
index 9b91743..759a27ac 100644
--- a/src/inversify.config.ts
+++ b/src/inversify.config.ts
@@ -28,6 +28,8 @@ import Play from './commands/play';
import QueueCommad from './commands/queue';
import Seek from './commands/seek';
import Shuffle from './commands/shuffle';
+import Skip from './commands/skip';
+import Unskip from './commands/unskip';
let container = new Container();
@@ -47,6 +49,8 @@ container.bind<Command>(TYPES.Command).to(Play).inSingletonScope();
container.bind<Command>(TYPES.Command).to(QueueCommad).inSingletonScope();
container.bind<Command>(TYPES.Command).to(Seek).inSingletonScope();
container.bind<Command>(TYPES.Command).to(Shuffle).inSingletonScope();
+container.bind<Command>(TYPES.Command).to(Skip).inSingletonScope();
+container.bind<Command>(TYPES.Command).to(Unskip).inSingletonScope();
// Config values
container.bind<string>(TYPES.Config.DISCORD_TOKEN).toConstantValue(DISCORD_TOKEN);