forked from adam/discord-bot-shtik
linking works 2 ways
All checks were successful
gitea.arg.rip/vassago/pipeline/head This commit looks good
All checks were successful
gitea.arg.rip/vassago/pipeline/head This commit looks good
...i think it always worked? or it was just this one issue
This commit is contained in:
parent
a55e7a74ab
commit
2645d631a5
@ -45,7 +45,7 @@ public class Behaver
|
|||||||
{
|
{
|
||||||
var matchingUACs = Rememberer.MatchUACs(message);
|
var matchingUACs = Rememberer.MatchUACs(message);
|
||||||
var behaviorsActedOn = new List<string>();
|
var behaviorsActedOn = new List<string>();
|
||||||
foreach (var behavior in Behaviors)
|
foreach (var behavior in Behaviors.ToList())
|
||||||
{
|
{
|
||||||
//if (!behavior.ShouldAct(message, matchingUACs)) //TODO: this way
|
//if (!behavior.ShouldAct(message, matchingUACs)) //TODO: this way
|
||||||
if(!behavior.ShouldAct(message))
|
if(!behavior.ShouldAct(message))
|
||||||
|
Loading…
Reference in New Issue
Block a user