fix silly mistakes
This commit is contained in:
parent
d789456a8e
commit
cea0df2dae
1 changed files with 2 additions and 2 deletions
4
bot.go
4
bot.go
|
@ -14,10 +14,10 @@ func NewBotApi(token string) (*BotApi, error) {
|
||||||
|
|
||||||
self, err := bot.GetMe()
|
self, err := bot.GetMe()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return BotApi{}, err
|
return &BotApi{}, err
|
||||||
}
|
}
|
||||||
|
|
||||||
bot.Self = self
|
bot.Self = self
|
||||||
|
|
||||||
return bot
|
return bot, nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue