Commit Graph

42 Commits

Author SHA1 Message Date
Dawid Wysokiński c3eb4b42d1 the discord package - commands shouldn't be exported 2021-07-18 12:21:02 +02:00
Dawid Wysokiński 4b777e24af use MessageEmbedFieldBuilder.SetName where it's possible 2021-07-18 10:07:49 +02:00
Dawid Wysokiński 65b6557697 add a new interface - messageProcessor 2021-07-18 09:52:13 +02:00
Dawid Wysokiński 2adeb4f686 cleanup 2021-07-18 09:14:26 +02:00
Dawid Wysokiński 2f02cbe32d public commands - refactor 2021-07-18 08:53:12 +02:00
Dawid Wysokiński fee7b101cd Session.SendEmbed refactor 2021-07-18 07:41:54 +02:00
Dawid Wysokiński 704928d9b4 rename MessageEmbed -> MessageEmbedFieldBuilder 2021-07-18 07:25:16 +02:00
Dawid Wysokiński ad99e34658 update pl/en translations 2021-05-06 15:54:44 +02:00
Dawid Wysokiński 1fe8748b64 update pl/en translations 2021-05-06 15:50:21 +02:00
Dawid Wysokiński 1c9c5c6f6a delete dev.sh and helpers from the models package, use gopgutil to build conditions in filters 2021-05-06 14:55:51 +02:00
Dawid Wysokiński ab6bbfa9c2 bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/golang-sdk 2021-05-06 14:42:37 +02:00
Dawid Wysokiński dc70752cfe make score in Session.handleTribeCommand more readable (add commas) 2021-02-06 10:36:13 +01:00
Dawid Wysokiński 3a7c8ff1ae update the author's website 2021-01-16 22:08:32 +01:00
Dawid Wysokiński ad55e5c345 [api.defaultError]: update message 2021-01-13 20:48:19 +01:00
Dawid Wysokiński 99aa44cdba - update translations
- [tw!tribe and tw!observe] look for a tribe by tag or id (not just by id)
2021-01-08 20:15:11 +01:00
Dawid Wysokiński 506ffc8344 bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/golang-sdk 2021-01-06 17:36:44 +01:00
Dawid Wysokiński 7413b6f4ba bump github.com/tribalwarshelp/golang-sdk 2020-11-21 13:13:29 +01:00
Dawid Wysokiński c26040e802 bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/golang-sdk 2020-11-06 20:39:36 +01:00
Dawid Wysokiński 88aa66afdf update github.com/tribalwarshelp/shared 2020-10-31 12:16:21 +01:00
Dawid Wysokiński 2e7c2eec67 fix: fix grammar mistakes in the English translation 2020-10-27 08:27:35 +01:00
Dawid Wysokiński ed3eabc64d rename file worker.go -> handler.go, update tribalwarshelp/shared package, small refactor 2020-10-25 14:58:04 +01:00
Dawid Wysokiński 3a7248af58 change the way discord message handlers are called 2020-10-25 14:57:48 +01:00
Dawid Wysokiński dc3dd073aa rename struct discord.EmbedMessage -> discord.MessageEmbed | message ids from all commands related to coords translation are moved to constants 2020-10-25 14:57:48 +01:00
Dawid Wysokiński f80fb95efa message ids from all commands related to the observations are moved to constants 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 4060fb5b60 move message IDs to constants (tribe command) 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 5bd650a83f move message ids to constants (help command), cron doesn't make an http request when the slice of servers is empty 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 659a811894 add screenshots, update readme.md 2020-10-25 14:57:48 +01:00
Dawid Wysokiński a5af1d2c9b add coords translator feature 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 82600da64b Groups command should show which options are enabled | update translations 2020-10-25 14:57:48 +01:00
Dawid Wysokiński f1d3274e10 rename ShowSelfConquers -> ShowInternals | send embed in new goroutine | make one big request to fetch ennoblements instead of separate requests 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 9e64f3085b SendEmbed checks now if the field limit has been reached 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 6b0e4c7a06 add option to enable showing self-conquers 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 860499461e bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/golang-sdk, fix panic caused by nil lang version pointer 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 5ad56f71bf add new command changelanguage 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 8ed61ffc80 add pl translations | rename UnObserveCmd -> DeleteObservationsCmd, UnObserveLostVillages -> DisableLostVillages, UnObserveConqueredVillages -> DisableConqueredVillages 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 5aefeca895 the unobserve command is fully translatable, fix formatting, fix bug with 'unknown' tribe tag 2020-10-25 14:57:48 +01:00
Dawid Wysokiński decb8c63a5 the tribe command is fully translatable 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 6026b86d27 the help command is fully translatable 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 634088712e add initial i18n configuration 2020-10-25 14:57:48 +01:00
Dawid Wysokiński de90699827 fix help command 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 92717b6f0a add new command showennobledbarbs [group ID] 2020-10-25 14:57:48 +01:00
Dawid Wysokiński f63daf39d7 huge refactor 2020-10-25 14:57:48 +01:00