Fixed remote control bot.

Fixed remote control bot.
This commit is contained in:
Anon 2022-09-07 09:34:10 +00:00 committed by GitHub
commit 67fd01138f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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()))
{