closes #1057 mention role can now mention up to 50 peopl
This commit is contained in:
		@@ -489,7 +489,7 @@ namespace NadekoBot.Modules.Administration
 | 
				
			|||||||
            foreach (var role in roles)
 | 
					            foreach (var role in roles)
 | 
				
			||||||
            {
 | 
					            {
 | 
				
			||||||
                send += $"\n**{role.Name}**\n";
 | 
					                send += $"\n**{role.Name}**\n";
 | 
				
			||||||
                send += string.Join(", ", (await Context.Guild.GetUsersAsync()).Where(u => u.GetRoles().Contains(role)).Distinct().Select(u => u.Mention));
 | 
					                send += string.Join(", ", (await Context.Guild.GetUsersAsync()).Where(u => u.GetRoles().Contains(role)).Take(50).Select(u => u.Mention));
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            while (send.Length > 2000)
 | 
					            while (send.Length > 2000)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user