mirror of https://github.com/coddrago/Heroku
- Fix `.info` for some users
- Fix inline lists for `.help` and other commands, which include animated emojispull/1/head
parent
1f64c8f360
commit
1c161417cd
|
@ -280,7 +280,7 @@ class List(InlineUnit):
|
||||||
id=utils.rand(20),
|
id=utils.rand(20),
|
||||||
title="Hikka",
|
title="Hikka",
|
||||||
input_message_content=InputTextMessageContent(
|
input_message_content=InputTextMessageContent(
|
||||||
unit["strings"][0],
|
self.sanitise_text(unit["strings"][0]),
|
||||||
"HTML",
|
"HTML",
|
||||||
disable_web_page_preview=True,
|
disable_web_page_preview=True,
|
||||||
),
|
),
|
||||||
|
|
|
@ -109,7 +109,7 @@ class HikkaInfoMod(loader.Module):
|
||||||
prefix = f"«<code>{utils.escape_html(self.get_prefix())}</code>»"
|
prefix = f"«<code>{utils.escape_html(self.get_prefix())}</code>»"
|
||||||
platform = utils.get_named_platform()
|
platform = utils.get_named_platform()
|
||||||
|
|
||||||
return utils.validate_html(
|
return (
|
||||||
(
|
(
|
||||||
"<b>🌘 Hikka</b>\n"
|
"<b>🌘 Hikka</b>\n"
|
||||||
if "hikka" not in self.config["custom_message"].lower()
|
if "hikka" not in self.config["custom_message"].lower()
|
||||||
|
|
Loading…
Reference in New Issue