Skip to content

Commit 08e2ad8

Browse files
authored
Merge pull request #2414 from dev-hato/fix_version
versionコマンドのmarkdown修正
2 parents ddc4df5 + 1575ad7 commit 08e2ad8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

plugins/hato.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ def altitude(place: str):
400400
def version():
401401
"""versionを表示する"""
402402

403-
str_ver = "バージョン情報\n```" f"Version {conf.VERSION}"
403+
str_ver = "バージョン情報\n```\n" f"Version {conf.VERSION}"
404404

405405
if conf.GIT_COMMIT_HASH:
406406
str_ver += f" (Commit {conf.GIT_COMMIT_HASH[:7]})"
@@ -414,7 +414,7 @@ def version():
414414
str_ver += (
415415
"\n"
416416
"Copyright (C) 2022 hato-bot Development team\n"
417-
"https://github.com/dev-hato/hato-bot ```"
417+
"https://github.com/dev-hato/hato-bot\n```"
418418
)
419419
return str_ver
420420

0 commit comments

Comments
 (0)