LP-5613 #2
@ -169,6 +169,7 @@ func (p *Plugin) notifyGrant(badgeID badgesmodel.BadgeID, granter string, grante
|
|||||||
dmText += Tdm("badges.notify.dm_reason", "\nПочему? ") + reason
|
dmText += Tdm("badges.notify.dm_reason", "\nПочему? ") + reason
|
||||||
}
|
}
|
||||||
dmAttachment := model.SlackAttachment{
|
dmAttachment := model.SlackAttachment{
|
||||||
|
Fallback: dmText,
|
||||||
Title: Tdm("badges.notify.title", "%sзначок выдан!", image),
|
Title: Tdm("badges.notify.title", "%sзначок выдан!", image),
|
||||||
Text: dmText,
|
Text: dmText,
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user