shuffle static method

Future<String> shuffle(
  1. CommandContext ctx
)

Implementation

static Future<String> shuffle(CommandContext ctx) async {
  final manager = ctx.client.getPlayerManager(ctx.guildId);
  if (manager == null) {
    return '❌ No player active!';
  }

  manager.shuffleQueue();
  return '🔀 Queue shuffled!';
}