From 3b971ffc7fbf0d5d870a45860843c9062cc307a0 Mon Sep 17 00:00:00 2001 From: lomion Date: Fri, 11 Sep 2020 12:35:55 +0200 Subject: [PATCH] Updated README.md for poster size command. Final tas kfor #6 --- README.md | 2 ++ tmdb/tmdb.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 31e6a57..3185444 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,8 @@ Use `!tmdb movie {title} [y:{release year}]` to get movie detail based on the gi 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. ## Discussion diff --git a/tmdb/tmdb.py b/tmdb/tmdb.py index 385f17a..55e1565 100644 --- a/tmdb/tmdb.py +++ b/tmdb/tmdb.py @@ -65,7 +65,7 @@ class TmdbBot(Plugin): 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 poster_size {size} to set your prefered poster size. With empty {size} all available sizes are listed.

+

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.

""" content = TextMessageEventContent( msgtype=MessageType.TEXT, format=Format.HTML,