[Saylinks] Convert all GM Command Saylinks to Silent Saylinks. (#2373)

* [Saylinks] Convert all GM Command Saylinks to Silent Saylinks.
- This cleans up all non-silent GM Command Saylinks that we had before due to the way they worked before. All saylinks like this should be silent now.
- Add source short hand capability for say links with same link as text.

* Defaults to r anyway.

* Spacing.
This commit is contained in:
Kinglykrab
2022-08-13 20:40:22 -04:00
committed by GitHub
parent 597b041d92
commit 216b6ef426
33 changed files with 186 additions and 356 deletions
+2 -10
View File
@@ -76,22 +76,14 @@ void command_showskills(Client *c, const Seperator *sep)
next_skill_id
);
auto next_list_link = Saylink::Create(
next_list_string,
false,
next_list_string
);
auto next_list_link = Saylink::Silent(next_list_string, next_list_string);
auto next_list_all_string = fmt::format(
"#showskills {} all",
next_skill_id
);
auto next_list_all_link = Saylink::Create(
next_list_all_string,
false,
next_list_all_string
);
auto next_list_all_link = Saylink::Silent(next_list_all_string, next_list_all_string);
c->Message(
Chat::White,