public Report(OldAccount a, OriReportPriorityType type, ulong id, string command, string content, string subject = null) { Type = type; Subject = subject ?? type.GetName(); Author = new Author(a); Command = command; Content = content; Id = id; }
public Report(OldAccount a, OriReportPriorityType type, ulong id, CommandInfo command, string content, string subject = null) { Type = type; Subject = subject ?? type.GetName(); Author = new Author(a); Command = $"{command.Module.Name ?? command.Module.ToString()}.{command.Name}".ToLower(); Content = content; Id = id; }