"just google it" general snark disabled

"temporarily"
This commit is contained in:
Adam R Grey 2024-01-23 14:12:52 -05:00
parent b84e47344b
commit a63a3fcb58

View File

@ -20,11 +20,15 @@ public class GeneralSnarkGooglit : Behavior
public override bool ShouldAct(Message message) public override bool ShouldAct(Message message)
{ {
if(Behaver.Instance.IsSelf(message.Author.Id)) return false;
return false;
return Regex.IsMatch(message.Content, $"(just )?google( (it|that|things|before))?\\b", RegexOptions.IgnoreCase);
} }
// public override bool ShouldAct(Message message)
// {
// if(Behaver.Instance.IsSelf(message.Author.Id))
// return false;
// return Regex.IsMatch(message.Content, $"(just )?google( (it|that|things|before))?\\b", RegexOptions.IgnoreCase);
// }
public override async Task<bool> ActOn(Message message) public override async Task<bool> ActOn(Message message)
{ {