Exemple #1
0
        /// <summary>
        /// If a container type,
        /// attempts to locate the datetime at the end of the given path.
        /// </summary>
        /// <see cref="Locate(string)"/>
        /// <param name="path">A dot seperated path to the datetime.</param>
        public DateTime?LocateDateTime(string path)
        {
            DiscordApiData data = Locate(path);

            return(data?.ToDateTime());
        }