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