REPOSITORY / ScuroNeko/Laniakea
Pull Requests
v1.0.0 #9
@@ -87,9 +87,9 @@ func (d *DraftProvider) NewDraft() *Draft {
|
|||||||
}
|
}
|
||||||
func (d *Draft) push(text string, escapeMd bool) error {
|
func (d *Draft) push(text string, escapeMd bool) error {
|
||||||
if escapeMd {
|
if escapeMd {
|
||||||
text += EscapeMarkdownV2(text)
|
d.Message += EscapeMarkdownV2(text)
|
||||||
} else {
|
} else {
|
||||||
text += text
|
d.Message += text
|
||||||
}
|
}
|
||||||
params := tgapi.SendMessageDraftP{
|
params := tgapi.SendMessageDraftP{
|
||||||
ChatID: d.chatID,
|
ChatID: d.chatID,
|
||||||
|
|||||||
Reference in New Issue
Block a user