text: const axios = require('axios');
  
  const apikey = process.env.STEAM_API_KEY;
  
  async function playerBanStatus(match) {
    const steamids = match.map(player => player.steamid64);
    const result = await axios.get(`https://api.steampowered.com/ISteamUser/GetPlayerBans/v1/?key=${apikey}&steamids=${steamids}`);
    return result.data.players;
  }
  
  async function friendsList(steamid) {
    const result = await axios.get(`https://api.steampowered.com/ISteamUser/GetFriendList/v1/?key=${apikey}&steamid=${steamid}`);
    return result.data;
  }
  
  module.exports = {
    playerBanStatus,
    friendsList,
  };
  