types: add okex icon and kucoin icon

This commit is contained in:
c9s 2022-01-10 14:18:09 +08:00
parent e2f7790a4e
commit fb3c198447

View File

@ -164,6 +164,10 @@ func (trade Trade) SlackAttachment() slack.Attachment {
footerIcon = "https://max.maicoin.com/favicon-16x16.png" footerIcon = "https://max.maicoin.com/favicon-16x16.png"
case ExchangeFTX: case ExchangeFTX:
footerIcon = "https://ftx.com/favicon.ico?v=2" footerIcon = "https://ftx.com/favicon.ico?v=2"
case ExchangeOKEx:
footerIcon = "https://static.okex.com/cdn/assets/imgs/MjAxODg/D91A7323087D31A588E0D2A379DD7747.png"
case ExchangeKucoin:
footerIcon = "https://assets.staticimg.com/cms/media/7AV75b9jzr9S8H3eNuOuoqj8PwdUjaDQGKGczGqTS.png"
} }
return slack.Attachment{ return slack.Attachment{