1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +00:00

Change slightly mm main text format

This commit is contained in:
Steffo 2019-09-10 14:00:21 +02:00
parent a1298b57e5
commit 0a22319d17

View file

@ -53,7 +53,7 @@ class MmCommand(Command):
@staticmethod
def _main_text(mmevent: MMEvent):
text = f"🌐 [b]{mmevent.title}[/b] - [b]{mmevent.datetime.strftime('%Y-%m-%d %H:%M')}[/b]\n"
text = f"🌐 [{mmevent.datetime.strftime('%Y-%m-%d %H:%M')}] [b]{mmevent.title}[/b]\n"
if mmevent.description:
text += f"{mmevent.description}\n"
text += "\n"