- Fix `.info` for some users

- Fix inline lists for `.help` and other commands, which include animated emojis
pull/1/head
hikariatama 2022-08-14 22:03:55 +00:00
parent 1f64c8f360
commit 1c161417cd
2 changed files with 2 additions and 2 deletions

View File

@ -280,7 +280,7 @@ class List(InlineUnit):
id=utils.rand(20),
title="Hikka",
input_message_content=InputTextMessageContent(
unit["strings"][0],
self.sanitise_text(unit["strings"][0]),
"HTML",
disable_web_page_preview=True,
),

View File

@ -109,7 +109,7 @@ class HikkaInfoMod(loader.Module):
prefix = f"«<code>{utils.escape_html(self.get_prefix())}</code>»"
platform = utils.get_named_platform()
return utils.validate_html(
return (
(
"<b>🌘 Hikka</b>\n"
if "hikka" not in self.config["custom_message"].lower()