public async Task GuildMembersAsync([Remainder] string guildName) { try { Guild guild = new Guild(); Realm.GetGuildSummary(guildName, guild); await ReplyAsync($"Fame: {guild.Fame} Member count: {guild.MemberCount} {guild.Name}"); Realm.GetGuildMembers(guild); MembersListBuilder(Color.Blue, $"Members of the guild {guildName}", guild.Members); } catch (Exception e) { Error(e.ToString()); } }
public async Task GuildAsync([Remainder] string guildName) { Guild guild = new Guild(); Realm.GetGuildSummary(guildName, guild); Generic(Color.Blue, $"this is the realmeye page for: **{guildName}**", $"Number of members: **{guild.MemberCount}**. Use the command **{Config.bot.cmdPrefix}Guild Members <guild name>** to view members.", $"Total number of characters: **{guild.Chars}**", $"Total fame: **{guild.Fame}**", $"Most active on: **{guild.MostActiveOn}**", $"━━━━━━━━━━━━━━━━━━━━━━━━━━", $"{guild.Desc1}", $"━━━━━━━━━━━━━━━━━━━━━━━━━━", $"{guild.Desc2}", $"━━━━━━━━━━━━━━━━━━━━━━━━━━", $"{guild.Desc3}", $"━━━━━━━━━━━━━━━━━━━━━━━━━━" ); }