mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Fixed remote control bot.
This commit is contained in:
parent
81579a7e40
commit
8dd3efaa54
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ namespace MinecraftClient.ChatBots
|
||||||
{
|
{
|
||||||
public override void GetText(string text)
|
public override void GetText(string text)
|
||||||
{
|
{
|
||||||
text = GetVerbatim(text);
|
text = GetVerbatim(text).Trim();
|
||||||
string command = "", sender = "";
|
string command = "", sender = "";
|
||||||
if (IsPrivateMessage(text, ref command, ref sender) && Settings.Bots_Owners.Contains(sender.ToLower().Trim()))
|
if (IsPrivateMessage(text, ref command, ref sender) && Settings.Bots_Owners.Contains(sender.ToLower().Trim()))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue