From 05341cee3bbf7e538867d32505c0da5f39d275f3 Mon Sep 17 00:00:00 2001 From: Adam R Grey Date: Wed, 22 Feb 2023 16:46:29 -0500 Subject: [PATCH] new feature: mock chatGPT. feature fix: detiktokify from all of tiktok.com --- Program.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 8faadf8..5bd91f5 100644 --- a/Program.cs +++ b/Program.cs @@ -115,7 +115,7 @@ namespace silverworker_discord { foreach (var link in links) { - if (link.Host == "vm.tiktok.com") + if (link.Host.EndsWith(".tiktok.com")) { Features.detiktokify(link, message); } @@ -167,6 +167,10 @@ namespace silverworker_discord { Features.Skynet(message); } + if (Regex.IsMatch(msgText, "\\bchatgpt\\b", RegexOptions.IgnoreCase)) + { + message.Channel.SendMessageAsync("chatGPT is **weak**. also, are we done comparing every little if-then-else to skynet?"); + } if (Regex.IsMatch(msgText, "\\bi need (an? )?(peptalk|inspiration|ego-?boost)\\b", RegexOptions.IgnoreCase)) { Console.WriteLine("peptalk");