remove unsupported media type message

This commit is contained in:
Frank Becker 2020-03-15 18:56:11 +01:00
parent 1ad251d184
commit e537bbc84d
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ class MatrixModule(BotModule):
await bot.send_text(room, "sorry. something went wrong accessing the api :(")
async def send_unknown_mediatype(self, room, bot, apod):
await bot.send_text(room, f"unsupported media_type: {apod.media_type}")
self.logger.debug(f"unknown media_type: {apod.media_type}. sending raw information")
await bot.send_text(room, f"title: {apod.title}\n\nexplanation:\n{apod.explanation}\n\nurl: {apod.url}")
async def upload_and_send_image(self, room, bot, apod):