"just google it" general snark disabled
"temporarily"
This commit is contained in:
parent
b84e47344b
commit
a63a3fcb58
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user