public async Task MentionAsync( [Summary("The role that the user is attempting to mention.")] IRole role, [Summary("Message to provide to mentionees. The 'message' argument is ignored by the command.")] [Remainder] string message = null) => await MentionService.MentionRoleAsync(role, Context.Channel, message);
public async Task TestRegularExpression() { IMentionService mentionService = new MentionService(); var html = File.ReadAllText("Data\\test.html"); var users = await mentionService.DetectAsync(html); Assert.True(true); }
public async Task MentionAsync( [Summary("The role that the user is attempting to mention.")] IRole role) => await MentionService.MentionRoleAsync(role, Context.Channel);