2023-06-19 01:14:04 -04:00
|
|
|
namespace vassago.Behavior;
|
|
|
|
|
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.IO;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Threading;
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
using vassago.Models;
|
2023-07-04 13:31:19 -04:00
|
|
|
using static vassago.Models.Enumerations;
|
2023-06-19 01:14:04 -04:00
|
|
|
|
2023-06-20 21:26:44 -04:00
|
|
|
[StaticPlz]
|
2023-06-19 01:14:04 -04:00
|
|
|
public class DefinitionSnarkGaslight : Behavior
|
|
|
|
{
|
|
|
|
public override string Name => "Definition Snarkiness: gaslighting";
|
|
|
|
|
|
|
|
public override string Trigger => "\\bgaslight(ing)?";
|
|
|
|
|
|
|
|
public override string Description => "snarkiness about the rampant misuse of the term gaslighting";
|
|
|
|
|
2023-07-04 13:31:19 -04:00
|
|
|
public override bool ShouldAct(Message message)
|
|
|
|
{
|
|
|
|
if((MeannessFilterLevel)message.Channel.EffectivePermissions.MeannessFilterLevel < MeannessFilterLevel.Unrestricted)
|
|
|
|
return false;
|
|
|
|
|
|
|
|
return base.ShouldAct(message);
|
|
|
|
}
|
|
|
|
|
2023-06-19 11:03:06 -04:00
|
|
|
public override async Task<bool> ActOn(Message message)
|
2023-06-19 01:14:04 -04:00
|
|
|
{
|
2023-12-01 14:02:47 -05:00
|
|
|
await message.Channel.SendMessage("that's not what gaslight means. Did you mean \"deceive\"?");
|
2023-06-19 01:14:04 -04:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|