add 站点管理命令

This commit is contained in:
jxxghp
2023-06-14 16:48:55 +08:00
parent 0b6a52f788
commit c726864412
6 changed files with 90 additions and 5 deletions

View File

@ -248,7 +248,7 @@ class Slack:
"type": "section",
"text": {
"type": "mrkdwn",
"text": f"*{title}*"
"text": f"**{title}**"
}
}
blocks = [title_section, {

View File

@ -79,9 +79,9 @@ class Telegram(metaclass=Singleton):
try:
if text:
caption = f"*{title}*\n{text}"
caption = f"**{title}**\n{text}"
else:
caption = f"*{title}*"
caption = f"**{title}**"
if userid:
chat_id = userid