Moved the coloring from <color>[text]<end> to <color>[test]</color>, which allows the discord module to reparse the messages more accurately
This commit is contained in:
@@ -26,7 +26,7 @@ class ChatController:
|
||||
@command(command="lft", params=[Any("message", is_optional=True)], access_level="member",
|
||||
description="Show a highly visible message")
|
||||
def lft_command(self, _, message):
|
||||
lft = f"<a href='chatcmd:///lft <font color=#FFFF00>» {message or '<myname>'}<end>'>/lft {message or '<myname>'}</a>"
|
||||
lft = f"<a href='chatcmd:///lft <font color=#FFFF00>» {message or '<myname>'}</font>'>/lft {message or '<myname>'}</a>"
|
||||
return self.text.format_page("Use this command for going LFT", "<yellow>────────────────</yellow>\n"
|
||||
f"<highlight>{lft}</highlight>\n"
|
||||
f"<yellow>────────────────</yellow>")
|
||||
|
||||
Reference in New Issue
Block a user