new feature: mock chatGPT. feature fix: detiktokify from all of tiktok.com
This commit is contained in:
parent
32242c9cb4
commit
05341cee3b
@ -115,7 +115,7 @@ namespace silverworker_discord
|
|||||||
{
|
{
|
||||||
foreach (var link in links)
|
foreach (var link in links)
|
||||||
{
|
{
|
||||||
if (link.Host == "vm.tiktok.com")
|
if (link.Host.EndsWith(".tiktok.com"))
|
||||||
{
|
{
|
||||||
Features.detiktokify(link, message);
|
Features.detiktokify(link, message);
|
||||||
}
|
}
|
||||||
@ -167,6 +167,10 @@ namespace silverworker_discord
|
|||||||
{
|
{
|
||||||
Features.Skynet(message);
|
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))
|
if (Regex.IsMatch(msgText, "\\bi need (an? )?(peptalk|inspiration|ego-?boost)\\b", RegexOptions.IgnoreCase))
|
||||||
{
|
{
|
||||||
Console.WriteLine("peptalk");
|
Console.WriteLine("peptalk");
|
||||||
|
Reference in New Issue
Block a user