import { TransformPipe } from '@discord-nestjs/common'; import { Command, DiscordTransformedCommand, TransformedCommandExecutionContext, UsePipes, } from '@discord-nestjs/core'; import { InteractionReplyOptions } from 'discord.js'; @Command({ name: 'pause', description: 'Pause or resume the playback of the current track', }) @UsePipes(TransformPipe) export class PausePlaybackCommand implements DiscordTransformedCommand { handler( dto: unknown, executionContext: TransformedCommandExecutionContext, ): InteractionReplyOptions | string { return 'nice'; } }