mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-12 06:56:41 +00:00
令参数符合标准
This commit is contained in:
@ -49,8 +49,7 @@ class MessageTemplate(Formatter, Generic[TF]):
|
||||
"""
|
||||
创建一个模板
|
||||
|
||||
:参数:
|
||||
|
||||
参数:
|
||||
template: 模板
|
||||
factory: 消息构造类型,默认为 `str`
|
||||
"""
|
||||
|
Reference in New Issue
Block a user