Commit Graph

125 Commits

Author SHA1 Message Date
787b33848f correct typo 2020-10-25 14:57:48 +01:00
c062a6a7ca correct typo 2020-10-25 14:57:48 +01:00
58891a5cb7 correct typo 2020-10-25 14:57:48 +01:00
3b80cf18b6 update readme.md and Dockerfile, add LICENSE 2020-10-25 14:57:48 +01:00
91d98058bc add readme.md 2020-10-25 14:57:48 +01:00
fe75c5a813 fix coordsTranslation formatting 2020-10-25 14:57:48 +01:00
a5af1d2c9b add coords translator feature 2020-10-25 14:57:48 +01:00
82600da64b Groups command should show which options are enabled | update translations 2020-10-25 14:57:48 +01:00
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
190d07249d change en translation cron.checkEnnoblements.msgLine 2020-10-25 14:57:48 +01:00
9e64f3085b SendEmbed checks now if the field limit has been reached 2020-10-25 14:57:48 +01:00
ae525cd1e3 make sure that bot will send all conquers 2020-10-25 14:57:48 +01:00
6b0e4c7a06 add option to enable showing self-conquers 2020-10-25 14:57:48 +01:00
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
5ad56f71bf add new command changelanguage 2020-10-25 14:57:48 +01:00
8ed61ffc80 add pl translations | rename UnObserveCmd -> DeleteObservationsCmd, UnObserveLostVillages -> DisableLostVillages, UnObserveConqueredVillages -> DisableConqueredVillages 2020-10-25 14:57:48 +01:00
2ed0efbcf6 the cron messages are fully translatable 2020-10-25 14:57:48 +01:00
3ee900f913 the showennobledbarbs command is fully translatable 2020-10-25 14:57:48 +01:00
4dca0f47d5 the observations command is fully translatable 2020-10-25 14:57:48 +01:00
5aefeca895 the unobserve command is fully translatable, fix formatting, fix bug with 'unknown' tribe tag 2020-10-25 14:57:48 +01:00
5f00ceb412 the observe command is fully translatable 2020-10-25 14:57:48 +01:00
9828a6cba9 the lostvillages, conqueredvillages, unobservelostvillages, unobserveconqueredvillages commands are fully translatable 2020-10-25 14:57:48 +01:00
7e53a6f745 the deletegroup command is fully translatable 2020-10-25 14:57:48 +01:00
de1e78459a the addgroup command is fully translatable 2020-10-25 14:57:48 +01:00
decb8c63a5 the tribe command is fully translatable 2020-10-25 14:57:48 +01:00
6026b86d27 the help command is fully translatable 2020-10-25 14:57:48 +01:00
634088712e add initial i18n configuration 2020-10-25 14:57:48 +01:00
4729cb74d6 change color and title of embed about the conquered village 2020-10-25 14:57:48 +01:00
68babe0762 bot should send only one message per channel with all conquers/losess 2020-10-25 14:57:48 +01:00
de90699827 fix help command 2020-10-25 14:57:48 +01:00
9932fc67c1 cron is now updating bot status every 6 hours 2020-10-25 14:57:48 +01:00
92717b6f0a add new command showennobledbarbs [group ID] 2020-10-25 14:57:48 +01:00
d4c518749e we are sending all conquers in one message | refactor | add find_lang_version_by_tag | bump github.com/tribalwarshelp/shared and golang-sdk 2020-10-25 14:57:48 +01:00
450f36a80f bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/golang-sdk 2020-10-25 14:57:48 +01:00
1067f8b39d lastEnnoblementAt should subtract from time.Now() 1 minute, not 60 2020-10-25 14:57:48 +01:00
f63daf39d7 huge refactor 2020-10-25 14:57:48 +01:00
449297e71b add group system 2020-10-25 14:57:48 +01:00
a9c2f9fb40 fix typo 2020-10-25 14:57:48 +01:00
340c1f69e9 add three new commands: unobserveconqueredvillages, unobservelostvillages, author 2020-10-25 14:57:48 +01:00
93bb8b5026 when lastEnnoblement is initializing, it should subtract 1 minute from time.Now() 2020-10-25 14:57:48 +01:00
13362df2a9 bump github.com/tribalwarshelp/golang-sdk and github.com/tribalwarshelp/shared 2020-10-25 14:57:48 +01:00
604c932a4c refactor 2020-10-25 14:57:48 +01:00
bd9b845742 bump github.com/tribalwarshelp/shared and github.com/tribalwarshelp/golang-sdk 2020-10-25 14:57:48 +01:00
9a5a60b06d bump github.com/tribalwarshelp/golang-sdk 2020-10-25 14:57:48 +01:00
a507fe35bc bump github.com/tribalwarshelp/shared 2020-10-25 14:57:48 +01:00
873ecefb28 rename utils.LanguageCodeFromWorldName to utils.LanguageTagFromWorldName | bump github.com/tribalwarshelp/shared, github.com/tribalwarshelp/golang-sdk and go-pg 2020-10-25 14:57:48 +01:00
c944cd5e53 fix app crash when sdk returns nil pointer 2020-10-25 14:57:48 +01:00
913cbf7ff0 bump github.com/tribalwarshelp/golang-sdk 2020-10-25 14:57:48 +01:00
9d77cbbd70 rename discord commands: delete -> unobserve, list -> observations 2020-10-25 14:57:48 +01:00
f16e93469a rename tribe model -> observation, cron is checking now bot membership on servers and is detecting closed tribalwars worlds 2020-10-25 14:57:48 +01:00