fix: markdown parse mode breaking some plugins
This commit is contained in:
parent
35c14ce8a8
commit
0edf41c792
5 changed files with 140 additions and 6 deletions
|
@ -74,6 +74,7 @@ func (p *HelpPlugin) OnMessage(msg *model.Message, config map[string]interface{}
|
|||
Chat: msg.Chat,
|
||||
ReplyTo: msg.ID,
|
||||
Channel: msg.Channel,
|
||||
Raw: map[string]interface{}{"parse_mode": "Markdown"},
|
||||
}
|
||||
|
||||
return []*model.MessageAction{
|
||||
|
@ -151,6 +152,7 @@ func (p *HelpPlugin) OnMessage(msg *model.Message, config map[string]interface{}
|
|||
Chat: msg.Chat,
|
||||
ReplyTo: msg.ID,
|
||||
Channel: msg.Channel,
|
||||
Raw: map[string]interface{}{"parse_mode": "Markdown"},
|
||||
}
|
||||
|
||||
return []*model.MessageAction{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue