Dbot.Processor.Commander.Commander C# (CSharp) Method

Commander() public method

public Commander ( Message message, MessageProcessor messageProcessor ) : System
message Message
messageProcessor MessageProcessor
return System
        public Commander(Message message, MessageProcessor messageProcessor)
        {
            _message = message;
              _text = message.SanitizedText.Substring(1);
              _messageProcessor = messageProcessor;
              _commandDictionary = new Dictionary<List<string>, Func<string>> {
              { new List<string> { "playlist" },
            () => "Playlist at last.fm/user/StevenBonnellII" },
              { new List<string> { "rules", "unmoddharma" },
            () => "github.com/destinygg/bot" },
              { new List<string> { "refer", "sponsor" },
            () => "destiny.gg/amazon ☜(゚ヮ゚☜) Amazon referral ☜(⌒▽⌒)☞ 25$ off Sprint network (☞゚ヮ゚)☞ destiny.gg/ting" },
              { new List<string> { "irc" },
            () => "IRC will be implemented Soon™. For now, chat is echoed to Rizon IRC at qchat.rizon.net/?channels=#destinyecho . Forwarding of IRC chat to Destiny.gg Chat is available" },
              { new List<string> { "time" },
            () =>
              $"{TimeZoneInfo.ConvertTimeBySystemTimeZoneId(DateTime.UtcNow, Settings.Timezone).ToShortTimeString()} Central Steven Time"
              },
              { new List<string> { "live" },
            () => Tools.LiveStatus() },
              { new List<string> { "blog", "blag" },
            () => Tools.FallibleCode(Blog) },
              { new List<string> { "starcraft", "sc" },
            () => Tools.FallibleCode(Starcraft) },
              { new List<string> { "song" },
            () => Tools.FallibleCode(Song) },
              { new List<string> { "pastsong", "lastsong", "previoussong", "earliersong" },
            () => Tools.FallibleCode(EarlierSong) },
              { new List<string> { "twitter", "tweet", "twatter" },
            () => Tools.FallibleCode(() => Twitter("OmniDestiny")) },
              { new List<string> { "youtube", "yt" },
            () => Tools.FallibleCode(Youtube) },
              { new List<string> { "strim", "stream", "overrustle" },
            () => Tools.FallibleCode(Overrustle) },
              { new List<string> { "randomaslan", "randomcat", "cat" },
            () => Tools.FallibleCode(RandomAslan) },
              { new List<string> { "aslan" },
            () => Twitter("AslanVondran") },
              };
        }