remove original-url from explanation. add date to title
This commit is contained in:
parent
9e2fb2ba6a
commit
fbf7932c4a
|
@ -103,9 +103,10 @@ class MatrixModule(BotModule):
|
|||
if matrix_uri is not None:
|
||||
self.matrix_uri_cache[apod.date] = matrix_uri
|
||||
bot.save_settings()
|
||||
await bot.send_text(room, f"{apod.title}")
|
||||
await bot.send_image(room, matrix_uri, f"{apod.title} - url: {url} date: {apod.date}")
|
||||
await bot.send_text(room, f"{apod.explanation} || date: {apod.date} || original-url: {apod.url}")
|
||||
await bot.send_text(room, f"{apod.title} ({apod.date})")
|
||||
await bot.send_image(room, matrix_uri, f"{apod.title}")
|
||||
await bot.send_text(room, f"original-url: {url}")
|
||||
await bot.send_text(room, f"{apod.explanation}")
|
||||
else:
|
||||
await bot.send_text(room, "sorry. something went wrong uploading the image to matrix server :(")
|
||||
|
||||
|
|
Loading…
Reference in New Issue