fix silly mistakes

bot-api-6.1
Syfaro 2015-06-25 23:45:56 -05:00
parent d789456a8e
commit cea0df2dae
1 changed files with 2 additions and 2 deletions

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
}