{"size": 259, "ext": "js", "max_stars_repo_path": "prototypes/guild_member/is_server_owner.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_server_owner.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_server_owner.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": 23.5454545455, "max_line_length": 51, "alphanum_fraction": 0.6988416988}
const { GuildMember } = require('discord.js');

/**
 * Returns if a member is the server owner
 * @returns boolean
 */
// eslint-disable-next-line func-names
GuildMember.prototype.isServerOwner = function () {
  return this.guild.ownerID === this.user.id;
};
