Esempio n. 1
0
 /// <summary>
 /// returns a description of the plugin
 /// </summary>
 /// <param name="shortDesc">flag to optionally only return a small description</param>
 /// <returns>the description of the Plugin</returns>
 public string GetDescription(bool shortDesc)
 {
     return(Name + ": \n" + Path + "\nPrefixes:\n\t" + Prefixes.Unpack("\n\t") + (shortDesc ? "" : "\nCommand Info: \n\t" + Data.Select(x => x.ToString()).Unpack("\n\t")));
 }