From d0ccb1bf4814226616c69a1c00512a2caf23ac71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88?= Date: Thu, 10 Apr 2025 20:26:46 -0400 Subject: [PATCH] feat: Adding more discord bot phrases The whole discord bot thing is hacky but all the bots phrase their messages in the same way and its currently the best way to distinguish between an actual user and a bot. --- src/Nullinside.Api.TwitchBot.Tests/ChatRules/DiscordTests.cs | 1 + src/Nullinside.Api.TwitchBot/ChatRules/Discord.cs | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Nullinside.Api.TwitchBot.Tests/ChatRules/DiscordTests.cs b/src/Nullinside.Api.TwitchBot.Tests/ChatRules/DiscordTests.cs index c11e31f..5c7885a 100644 --- a/src/Nullinside.Api.TwitchBot.Tests/ChatRules/DiscordTests.cs +++ b/src/Nullinside.Api.TwitchBot.Tests/ChatRules/DiscordTests.cs @@ -15,6 +15,7 @@ public class DiscordTests : AChatRuleUnitTestBase { /// /// The string that should fail. [Test] + [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")] [TestCase("Hello, I just recently found your channel and can already tell that your content is great, and I would love to stick with you long term. If you're open to it, I'd be willing to connect with you on Discord. My username is teecash1000")] diff --git a/src/Nullinside.Api.TwitchBot/ChatRules/Discord.cs b/src/Nullinside.Api.TwitchBot/ChatRules/Discord.cs index e3dbf0f..83d6dc4 100644 --- a/src/Nullinside.Api.TwitchBot/ChatRules/Discord.cs +++ b/src/Nullinside.Api.TwitchBot/ChatRules/Discord.cs @@ -19,7 +19,8 @@ public class Discord : AChatRule { "my discord username", "my username", "connect on discord", - "add up" + "add up", + "hit me up" ]; ///