Fixed remote control bot.

This commit is contained in:
Milutinke 2022-09-07 11:32:38 +02:00
parent 81579a7e40
commit 8dd3efaa54

View file

@ -13,7 +13,7 @@ namespace MinecraftClient.ChatBots
{
public override void GetText(string text)
{
text = GetVerbatim(text);
text = GetVerbatim(text).Trim();
string command = "", sender = "";
if (IsPrivateMessage(text, ref command, ref sender) && Settings.Bots_Owners.Contains(sender.ToLower().Trim()))
{