Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ public class BestCheapViewersTests : AChatRuleUnitTestBase<BestCheapViewers> {
[TestCase("C̀heap Viewers on ***")]
[TestCase("Cheaͧp v̫iewers on ***")]
[TestCase("Cheaͧp v̫iewers on *** ")]
[TestCase("Cheap viewers ͚on followersboosters.ru @U8y0GrKS")]
[TestCase("Chea̓p viewers on streamboo. com (remove the space) @ND80DOGe")]
[TestCase("Bestͮ vie͐wers ̷on cutt.ly/EeK6Anda")]
[TestCase("Bestͮ vie͐wers ̷on viewerszone.online")]
public async Task TestKnownStrings(string badString) {
var rule = new BestCheapViewers();
var botProxy = new Mock<ITwitchApiProxy>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ public class DiscordTests : AChatRuleUnitTestBase<Discord> {
[TestCase("Hey there 👋 You stream pretty cool that’s why I followed you. I will like to make you a friend and be a fan, if you don’t mind Kindly chat me on Discord, my Discord username is tuckzay")]
[TestCase("Hi! Just wanted to say that I absolutely love your gameplay and content.l'd love to connect better with you on Discord if that's possible. Looking forward to more awesome streams from you! My username is 👉👉👉 edisonpires")]
[TestCase("What's up Friend, great stream! I'm having a blast watching you stream. Let's move the conversation to Discord, where we can discuss more about streaming in more detail and get to know each other better. See you there! My discord username is 👉john_6029")]
[TestCase("\"Love your streams! Let's connect on Discord (ice_0147) and build a community! I'd love to support you as a fan & friend!\"")]
[TestCase("“Hello I Love your streams, they’re amazing! Let’s connect on Discord (ayome_01) and grow a community. I’d love to support you as a fan and friend!”")]
public async Task TestKnownStrings(string badString) {
var rule = new Discord();
var botProxy = new Mock<ITwitchApiProxy>();
Expand Down
3 changes: 2 additions & 1 deletion src/Nullinside.Api.TwitchBot/ChatRules/Discord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ public class Discord : AChatRule {
private readonly string[] KNOWN_PHRASES = [
"add me on discord",
"my username is",
"my discord username is"
"my discord username is",
"connect on discord"
];

/// <inheritdoc />
Expand Down