Remove redundant chat command execution

Eliminated the call to GetClient().Self.Chat for each command in RLVService, as it was only being used for testing
This commit is contained in:
Madpeter 2025-11-03 20:51:15 +00:00
parent bbea1b7473
commit 80f1ce7af0

View file

@ -309,7 +309,6 @@ namespace SecondBotEvents.Services
foreach (var cmd in e.Message.Substring(1).Split(','))
{
GetClient().Self.Chat(cmd, 0, ChatType.Normal);
var m = rlv_regex.Match(cmd);
if (!m.Success) continue;