Ticket #8: Changed HTML format of help text since <br> tag seams not to work with the brand new element for Android ...
This commit is contained in:
parent
03a63987ef
commit
90476dd9eb
|
@ -62,10 +62,10 @@ class TmdbBot(Plugin):
|
|||
await evt.respond(content)
|
||||
|
||||
async def send_help(self, evt: MessageEvent) -> None:
|
||||
html = """Use <b>!tmdb id movie {tmdb id}</b> to get movie detail for tmdb-id.</br>
|
||||
Use <b>!tmdb movie {title} [y:{release year}]</b> to get movie detail based on the given title.</br>
|
||||
Use <b>!tmdb language {language}</b> to set your prefered language.</br>
|
||||
Use <b>!tmdb tvshow {title}</b> to get detail about a tv show based on the given title.</br>"""
|
||||
html = """<p>Use <b>!tmdb id movie {tmdb id}</b> to get movie detail for tmdb-id.</p>
|
||||
<p>Use <b>!tmdb movie {title} [y:{release year}]</b> to get movie detail based on the given title.</p>
|
||||
<p>Use <b>!tmdb language {language}</b> to set your prefered language.</p>
|
||||
<p>Use <b>!tmdb tvshow {title}</b> to get detail about a tv show based on the given title.</p>"""
|
||||
content = TextMessageEventContent(
|
||||
msgtype=MessageType.TEXT, format=Format.HTML,
|
||||
body=f"Help for TMDB Bot",
|
||||
|
|
Loading…
Reference in a new issue