new feature: mock chatGPT. feature fix: detiktokify from all of tiktok.com

This commit is contained in:
Adam R Grey 2023-02-22 16:46:29 -05:00
parent 32242c9cb4
commit 05341cee3b

View File

@ -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");