mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-11 12:21:37 +02:00
Add skip/unskip
This commit is contained in:
parent
3c169d113c
commit
e55acbb718
3 changed files with 70 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue