execute method

  1. @override
Future<String> execute(
  1. CommandContext context
)
override

Implementation

@override
Future<String> execute(CommandContext context) async {
  final player = context.player;

  await player.stop(shouldClearQueue: true);
  return '⏹️ Stopped playback and cleared queue';
}