test
This commit is contained in:
parent
4c871267ab
commit
ec719c504b
10
main.go
10
main.go
@ -95,19 +95,23 @@ func main() {
|
||||
_, _ = addObjCastle(`🐺`, `Wolfpack`)
|
||||
_, _ = addObjGuild(``, `No Guild`)
|
||||
}
|
||||
resetMsgParsingRules()
|
||||
resetObjItem()
|
||||
|
||||
resetMsgParsingRules()
|
||||
msgParsingRules, err = loadMsgParsingRules()
|
||||
logOnError(err, "Message parsing rules")
|
||||
|
||||
err = loadObjCastle()
|
||||
logOnError(err, "Caching castles")
|
||||
|
||||
err = loadObjGuild()
|
||||
logOnError(err, "Caching guilds")
|
||||
|
||||
err = loadObjUser()
|
||||
logOnError(err, "Caching user")
|
||||
|
||||
err = loadObjItem()
|
||||
logOnError(err, "Caching user")
|
||||
logOnError(err, "Caching items")
|
||||
resetObjItem()
|
||||
|
||||
// Registering bot
|
||||
b, err := tb.NewBot(tb.Settings{
|
||||
|
Loading…
Reference in New Issue
Block a user