Example #1
0
 public static string[] RealRemarksArr(this CommandInfo cmd, IBotStrings strings, ulong?guildId, string prefix)
 => Array.ConvertAll(strings.GetCommandStrings(cmd.MethodName(), guildId).Args,
                     arg => GetFullUsage(cmd.Name, arg, prefix));
Example #2
0
 public static string RealSummary(this CommandInfo cmd, IBotStrings strings, ulong?guildId, string prefix)
 => string.Format(strings.GetCommandStrings(cmd.Name, guildId).Desc, prefix);