discord-jellyfin-bot/src/commands/command.module.ts

33 lines
968 B
TypeScript
Raw Normal View History

2022-12-16 13:48:39 +01:00
import { Module } from '@nestjs/common';
import { DiscordModule } from '@discord-nestjs/core';
import { HelpCommand } from './help.command';
2022-12-16 14:15:32 +01:00
import { StatusCommand } from './status.command';
2022-12-16 16:10:16 +01:00
import { CurrentTrackCommand } from './current.command';
import { DisconnectCommand } from './disconnect.command';
import { EnqueueCommand } from './enqueue.command';
import { PausePlaybackCommand } from './pause.command';
import { PlayCommand } from './play.command';
import { SkipTrackCommand } from './skip.command';
import { StopPlaybackCommand } from './stop.command';
import { SummonCommand } from './summon.command';
2022-12-16 13:48:39 +01:00
@Module({
imports: [DiscordModule.forFeature()],
controllers: [],
2022-12-16 16:10:16 +01:00
providers: [
HelpCommand,
StatusCommand,
CurrentTrackCommand,
DisconnectCommand,
EnqueueCommand,
PausePlaybackCommand,
PlayCommand,
SkipTrackCommand,
StopPlaybackCommand,
SummonCommand,
],
2022-12-16 13:48:39 +01:00
exports: [],
})
export class CommandModule {}