mirror of
https://github.com/idanoo/NZCovidBot
synced 2025-07-03 04:02:14 +00:00
1.4 - Telegram support
This commit is contained in:
parent
07d0e82dff
commit
6e1c259d9e
10 changed files with 139 additions and 5 deletions
|
@ -87,9 +87,8 @@ func getPostableDiscordData() map[string][]string {
|
|||
return groups
|
||||
}
|
||||
|
||||
// formatCsvDiscordRow Format the string to a tidy string for the interwebs
|
||||
// getDiscordRow Format the string to a tidy string for the interwebs
|
||||
func getDiscordRow(item ApiItem) string {
|
||||
return fmt.Sprintf("**%s** %s on _%s_",
|
||||
item.EventName, item.Location.Address, item.getDateString())
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue