internal Tuple <EventHandler <MessageEventArgs>, string> GetOnMessage()
        {
            try
            {
                var s  = KeyValuePairs[ConstConfigBot.OnMessages].ToString();
                var r1 = BotStartMethods.GetMethodFromString(s);
                return(new Tuple <EventHandler <MessageEventArgs>, string>(r1, s));
            }
            catch
            {
                ;
            }

            return(new Tuple <EventHandler <MessageEventArgs>, string>(null, null));
        }
Beispiel #2
0
        internal EventHandler <MessageEventArgs> GetOnMessage()
        {
            var s = KeyValuePairs[ConstConfigBot.OnMessages].ToString();

            return(BotStartMethods.GetMethodFromString(s));
        }