Change how rules are reported
This commit is contained in:
parent
8cbeb09017
commit
56cc7d7014
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class ResponseExecutor {
|
||||||
private readonly List<(string, ResponseResult)> _reports;
|
private readonly List<(string, ResponseResult)> _reports;
|
||||||
private Action<string> Log { get; }
|
private Action<string> Log { get; }
|
||||||
|
|
||||||
private string LogSource => $"Rule '{_rule.Label}'";
|
private string LogSource => $"{_rule.Label} ({nameof(RegexModerator)})";
|
||||||
|
|
||||||
public ResponseExecutor(ConfDefinition rule, RegexbotClient bot, SocketMessage msg, Action<string> logger) {
|
public ResponseExecutor(ConfDefinition rule, RegexbotClient bot, SocketMessage msg, Action<string> logger) {
|
||||||
_rule = rule;
|
_rule = rule;
|
||||||
|
|
Loading…
Reference in a new issue