make system and faction bold
This commit is contained in:
parent
b96e40299d
commit
efbbaa8abf
@ -1,13 +1,11 @@
|
||||
using System.Linq;
|
||||
|
||||
namespace EliteBGS;
|
||||
namespace EliteBGS;
|
||||
|
||||
public class OneLineDiscordLog : DiscordLogGenerator {
|
||||
protected override string GenerateObjectiveHeader(Objective objective) {
|
||||
if (!string.IsNullOrEmpty(objective.Faction)) {
|
||||
return string.Format("{0} for {1}: ", objective.System, objective.Faction);
|
||||
return string.Format("**{0}** for **{1}**: ", objective.System, objective.Faction);
|
||||
} else {
|
||||
return string.Format("{0}: ", objective.System);
|
||||
return string.Format("**{0}**: ", objective.System);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user