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:
parent
a1298b57e5
commit
0a22319d17
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class MmCommand(Command):
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _main_text(mmevent: MMEvent):
|
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:
|
if mmevent.description:
|
||||||
text += f"{mmevent.description}\n"
|
text += f"{mmevent.description}\n"
|
||||||
text += "\n"
|
text += "\n"
|
||||||
|
|
Loading…
Reference in a new issue