abbrv & !stats hotfix
This commit is contained in:
@@ -119,6 +119,7 @@ class DiscordCommandHandler(BaseModule):
|
|||||||
(r"<neutral>(.*?)</neutral>", r":white_circle: \1"),
|
(r"<neutral>(.*?)</neutral>", r":white_circle: \1"),
|
||||||
(r"<tab>", "\t"),
|
(r"<tab>", "\t"),
|
||||||
(r"<img src=(.?)rdb://\d+\1>", ''),
|
(r"<img src=(.?)rdb://\d+\1>", ''),
|
||||||
|
(r"<a href=skillid://\d+>(.+?)</a>", r'\1'),
|
||||||
('#', ''),
|
('#', ''),
|
||||||
('<', '<'),
|
('<', '<'),
|
||||||
('>', '>')]:
|
('>', '>')]:
|
||||||
|
|||||||
@@ -407,7 +407,7 @@ class AllianceRelay:
|
|||||||
blob = ""
|
blob = ""
|
||||||
if ctx.source.startswith("Discord_("):
|
if ctx.source.startswith("Discord_("):
|
||||||
if self.discord.alias_usage().get_value():
|
if self.discord.alias_usage().get_value():
|
||||||
abbrv = self.discord.alias_controller.get_alias(ctx.sender.org_id)
|
abbrv = self.discord.alias_controller.get_alias(ctx.sender.get("org_id", 0))
|
||||||
invite = self.text.make_chatcmd("click here", "/tell <myname> discord invite",
|
invite = self.text.make_chatcmd("click here", "/tell <myname> discord invite",
|
||||||
style="style='text-decoration:none'")
|
style="style='text-decoration:none'")
|
||||||
# name = "<header2><myname></header2>"
|
# name = "<header2><myname></header2>"
|
||||||
|
|||||||
Reference in New Issue
Block a user