Esempio n. 1
0
 public static async Task WhisperRole(this SocketCommandContext context, string roleName, string message,
                                      Embed embed)
 {
     await context.Whisper(
         usr =>
         usr.Roles.SingleOrDefault(role =>
                                   role.Name == roleName) != null, message, embed);
 }