mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-12 06:56:41 +00:00
使用 markdown 格式的强调语法
This commit is contained in:
@ -51,8 +51,8 @@ class MessageTemplate(Formatter, Generic[TF]):
|
||||
|
||||
:参数:
|
||||
|
||||
* ``template: Union[str, Message]``: 模板
|
||||
* ``factory: Union[str, Message]``: 消息构造类型,默认为 `str`
|
||||
* `template: Union[str, Message]`: 模板
|
||||
* `factory: Union[str, Message]`: 消息构造类型,默认为 `str`
|
||||
"""
|
||||
self.template: TF = template
|
||||
self.factory: Type[TF] = factory
|
||||
|
Reference in New Issue
Block a user