fix silly mistakes

This commit is contained in:
Syfaro 2015-06-25 23:45:56 -05:00
parent d789456a8e
commit cea0df2dae

4
bot.go
View file

@ -14,10 +14,10 @@ func NewBotApi(token string) (*BotApi, error) {
self, err := bot.GetMe()
if err != nil {
return BotApi{}, err
return &BotApi{}, err
}
bot.Self = self
return bot
return bot, nil
}