{"size": 315, "ext": "js", "max_stars_repo_path": "prototypes/guild_member/is_verified_player.js", "max_stars_repo_name": "Garma1337/CompHubBot", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "prototypes/guild_member/is_verified_player.js", "max_issues_repo_name": "Garma1337/CompHubBot", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "prototypes/guild_member/is_verified_player.js", "max_forks_repo_name": "Garma1337/CompHubBot", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.25, "max_line_length": 57, "alphanum_fraction": 0.7142857143}
const { GuildMember } = require('discord.js');
const config = require('../../config');

/**
 * Returns if a member is a verified player
 * @returns boolean
 */
// eslint-disable-next-line func-names
GuildMember.prototype.isVerifiedPlayer = function () {
  return this.hasRole(config.roles.verified_player_role);
};
