|
@ -88,7 +88,7 @@ class Logbot(Bot): |
|
|
media_post = f'<img src="{ media_path }">' |
|
|
media_post = f'<img src="{ media_path }">' |
|
|
elif message.url.lower().endswith(self.FILE_TYPES): |
|
|
elif message.url.lower().endswith(self.FILE_TYPES): |
|
|
media_post = ( |
|
|
media_post = ( |
|
|
f'<iframe src="{ media_path }" width="800" height="1000"></iframe>' |
|
|
f'<iframe src="{ media_path }"></iframe>' |
|
|
) |
|
|
) |
|
|
elif message.url.lower().endswith(self.AUDIO_TYPES): |
|
|
elif message.url.lower().endswith(self.AUDIO_TYPES): |
|
|
media_post = f'<audio controls src="{ media_path }"></audio>' |
|
|
media_post = f'<audio controls src="{ media_path }"></audio>' |
|
|