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 @@ -15,6 +15,11 @@ public class DiscordTests : AChatRuleUnitTestBase<Discord> {
/// </summary>
/// <param name="badString">The string that should fail.</param>
[Test]
[TestCase("Add me on discord: heckler80")]
[TestCase("Add my discord👉 emmanuel_1345")]
[TestCase("could you add me on Discord My username is 👉fawaz0160. Appreciate it! 😊")]
[TestCase("Hello what's up 🥰I love your stream it's very entertaining so I followed you, Got some recommendations that will help you much in improving your stream.. kindly adding up on discord if that's okay: kings124 Thanks 👍🏿")]
[TestCase("Hey! You stream really well 👑I’ll love to become your dedicated fan and support you. Mind adding me on Discord: laycon0801")]
[TestCase("Hey! Big fan of your content. I’d love to discuss some ideas or just support each other’s growth. Hit me up on Discord: xapar9")]
[TestCase("Yo bruh \u2764\ufe0f let's sometimes play together and share tips add up on discord \ud83d\udc49 willam0340")]
[TestCase("Hello mate you stream pretty cool that's why I follow I would love to be a fan of yours if you don't mind kindly add me on Discord: 👉👉lacaster5")]
Expand Down
6 changes: 5 additions & 1 deletion src/Nullinside.Api.TwitchBot/ChatRules/Discord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@ namespace Nullinside.Api.TwitchBot.ChatRules;
public class Discord : AChatRule {
private readonly string[] KNOWN_PHRASES = [
"add me",
"add my",
"add up",
"adding me",
"adding my",
"adding up",
"message me",
"chat with me",
"my discord username",
"my username",
"connect on discord",
"add up",
"hit me up"
];

Expand Down