mirror of
https://github.com/BluemediaDev/muse.git
synced 2025-05-11 12:21:37 +02:00
Add shuffle command
This commit is contained in:
parent
fb91c8e89c
commit
ad4d49f763
6 changed files with 52 additions and 68 deletions
|
@ -25,6 +25,7 @@ import Config from './commands/config';
|
|||
import Play from './commands/play';
|
||||
import QueueCommad from './commands/queue';
|
||||
import Seek from './commands/seek';
|
||||
import Shuffle from './commands/shuffle';
|
||||
|
||||
let container = new Container();
|
||||
|
||||
|
@ -41,6 +42,7 @@ 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();
|
||||
container.bind<Command>(TYPES.Command).to(Shuffle).inSingletonScope();
|
||||
|
||||
// Config values
|
||||
container.bind<string>(TYPES.Config.DISCORD_TOKEN).toConstantValue(DISCORD_TOKEN);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue