From 90476dd9eb48afdc8880011a52e884f08de80616 Mon Sep 17 00:00:00 2001 From: lomion Date: Tue, 18 Aug 2020 15:31:13 +0200 Subject: [PATCH] Ticket #8: Changed HTML format of help text since
tag seams not to work with the brand new element for Android ... --- tmdb/tmdb.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tmdb/tmdb.py b/tmdb/tmdb.py index a4a94d0..11b8cdb 100644 --- a/tmdb/tmdb.py +++ b/tmdb/tmdb.py @@ -62,10 +62,10 @@ class TmdbBot(Plugin): await evt.respond(content) async def send_help(self, evt: MessageEvent) -> None: - html = """Use !tmdb id movie {tmdb id} to get movie detail for tmdb-id.
- Use !tmdb movie {title} [y:{release year}] to get movie detail based on the given title.
- Use !tmdb language {language} to set your prefered language.
- Use !tmdb tvshow {title} to get detail about a tv show based on the given title.
""" + html = """

Use !tmdb id movie {tmdb id} to get movie detail for tmdb-id.

+

Use !tmdb movie {title} [y:{release year}] to get movie detail based on the given title.

+

Use !tmdb language {language} to set your prefered language.

+

Use !tmdb tvshow {title} to get detail about a tv show based on the given title.

""" content = TextMessageEventContent( msgtype=MessageType.TEXT, format=Format.HTML, body=f"Help for TMDB Bot",