Archived
1

/academy and /bastion commands

This commit is contained in:
2017-12-02 19:50:56 +04:00
parent 010a2395bf
commit 050c0f8d0b
5 changed files with 40 additions and 6 deletions

View File

@@ -47,9 +47,17 @@ func (r *Router) routePrivateRequest(update *tgbotapi.Update, playerRaw *dbmappi
c.Welcomer.PrivateWelcomeMessageUnauthorized(update)
return "ok"
case update.Message.Command() == "help":
c.Talkers.HelpMessage(update, playerRaw)
return "ok"
case update.Message.Command() == "academy":
c.Talkers.AcademyMessage(update)
return "ok"
case update.Message.Command() == "bastion":
c.Talkers.BastionMessage(update)
return "ok"
case pokedexMsg.MatchString(text):
c.Pokedexer.PokememesList(update)
return "ok"