diff --git a/README.md b/README.md index ea150d1..4bd6a28 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,22 @@ +![Woodpecker-CI](https://drone.sarkasti.eu/api/badges/lomion/tmdb-bot/status.svg) # tmdb-bot -A [maubot](https://github.com/maubot/maubot) to get information about movies from [TheMovieDB.org](https://www.themoviedb.org/). +A [maubot](https://github.com/maubot/maubot) for Matrix messaging to get information about movies from [TheMovieDB.org](https://www.themoviedb.org/). ## Usage Use `!tmdb help` to get help about the bot usage. Use `!tmdb movie {title} [y:{release year}]` to get movie detail based on the given title. +Use `!tmdb tvshow {title}` to get detail about a tv show based on the given title. + Use `!tmdb popular [{rating}]` to get most popular movies. Get details about any one movie in the list by adding the {rating}. Use `!tmdb language {language}` to set your prefered language. Use `!tmdb poster_size [{size}]` to set your prefered poster size. With empty {size} all available sizes are listed. -Use `!tmdb tvshow {title}` to get detail about a tv show based on the given title. +## Screenshot +![Screenshot](screenshot_tmdb-bot-1.2.0.jpg) ## Discussion Matrix room: [#tmdb-bot:matrix.sarkasti.eu](https://matrix.to/#/#tmdb-bot:matrix.sarkasti.eu) diff --git a/tmdb/tmdb.py b/tmdb/tmdb.py index 0952583..54faecb 100644 --- a/tmdb/tmdb.py +++ b/tmdb/tmdb.py @@ -74,10 +74,10 @@ class TmdbBot(Plugin): async def send_help(self, evt: MessageEvent) -> None: html = """
Use !tmdb movie {title} [y:{release year}] to get movie detail based on the given title.
+Use !tmdb tvshow {title} to get detail about a tv show based on the given title.
Use !tmdb popular [{rating}] to get most popular movies. Get details about any one movie in the list by adding the {rating}.
Use !tmdb language {language} to set your prefered language.
-Use !tmdb poster_size [{size}] to set your prefered poster size. With empty {size} all available sizes are listed.
-Use !tmdb tvshow {title} to get detail about a tv show based on the given title.
""" +Use !tmdb poster_size [{size}] to set your prefered poster size. With empty {size} all available sizes are listed.
""" content = TextMessageEventContent( msgtype=MessageType.TEXT, format=Format.HTML, body="Help for TMDB Bot",