mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-04 03:10:01 +08:00
fix bug
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
|
||||
|
||||
def prompt2cn(text: str, count: int, s: str = "#") -> str:
|
||||
"""
|
||||
格式化中文提示
|
||||
:param text: 文本
|
||||
:param count: 个数
|
||||
:param s: #
|
||||
"""
|
||||
return s * count + "\n" + s * 6 + " " + text + " " + s * 6 + "\n" + s * count
|
||||
|
||||
|
||||
Reference in New Issue
Block a user