mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2025-02-22 09:19:51 +01:00
Updated example
This commit is contained in:
parent
13071fd9d8
commit
b3b5d607e0
@ -310,7 +310,8 @@ class ViewCommandPlugin(SidebandCommandPlugin):
|
|||||||
else:
|
else:
|
||||||
image_field = self.sources[source].get_image_field(quality_preset)
|
image_field = self.sources[source].get_image_field(quality_preset)
|
||||||
image_timestamp = self.timestamp_str(self.sources[source].last_update)
|
image_timestamp = self.timestamp_str(self.sources[source].last_update)
|
||||||
message = f"Source [b]{source}[/b] at [b]{image_timestamp}[/b]"
|
message = "#!md\n" # Tell sideband to format this message
|
||||||
|
message += f"Source [b]{source}[/b] at [b]{image_timestamp}[/b]"
|
||||||
|
|
||||||
if image_field != None:
|
if image_field != None:
|
||||||
self.image_response(message, image_field, requestor)
|
self.image_response(message, image_field, requestor)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user