XG.Model.Domain.Server.Bot C# (CSharp) Method

Bot() public method

public Bot ( string aName ) : Bot
aName string
return Bot
        public Bot Bot(string aName)
        {
            Bot tBot = null;
            foreach (Channel chan in Channels)
            {
                tBot = chan.Bot(aName);
                if (tBot != null)
                {
                    break;
                }
            }
            return tBot;
        }