format change
This commit is contained in:
parent
fd7868128a
commit
5f72059bb6
2 changed files with 23 additions and 8 deletions
|
|
@ -65,7 +65,7 @@ func (d *DiscordBot) Start(fromTelegram <-chan dto.TelegramDTO) chan dto.Discord
|
|||
files = append(files, file)
|
||||
}
|
||||
|
||||
m := discord.MessageCreate{Content: fmt.Sprintf("[%s]\n%s", msg.AuthorName, msg.Content)}
|
||||
m := discord.MessageCreate{Content: fmt.Sprintf("**[%s]**\n%s", msg.AuthorName, msg.Content)}
|
||||
|
||||
if len(files) > 0 {
|
||||
m.Files = append(m.Files, files...)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue