improve message layout

This commit is contained in:
c9s 2020-12-08 14:41:51 +08:00
parent 4316f1fada
commit a299721a98

View File

@ -144,9 +144,11 @@ func runConfig(basectx context.Context, userConfig *bbgo.Config) error {
go bot.Start() go bot.Start()
log.Infof("send the following command to the bbgo bot you created to enable the notification...") log.Infof("send the following command to the bbgo bot you created to enable the notification...")
log.Infof("+=========================================+") log.Infof("===========================================")
log.Infof("")
log.Infof(" /auth %s", telegramAuthToken) log.Infof(" /auth %s", telegramAuthToken)
log.Infof("+=========================================+") log.Infof("")
log.Infof("===========================================")
var notifier = telegramnotifier.New(bot, telegramAuthToken) var notifier = telegramnotifier.New(bot, telegramAuthToken)
notification.AddNotifier(notifier) notification.AddNotifier(notifier)
} }