getPlayer method
Get the player for a given guild.
Implementation
Future<Player> getPlayer(String guildId) async {
final response = jsonDecode(await _executeSafe(
'GET',
'/v4/sessions/${connection.sessionId}/players/$guildId',
));
return Player.fromJson(response as Map<String, Object?>);
}