Commit Graph

29 Commits

Author SHA1 Message Date
Dawid Wysokiński 9da466d526 rename message.go -> ennoblement_msg, cleanup in ennoblement_msg.go 2021-07-18 12:08:46 +02:00
Dawid Wysokiński 1153829a70 refactor cron initialization 2021-07-18 10:28:28 +02:00
Dawid Wysokiński 97f9f3660b rename the utils package 2021-05-06 15:25:09 +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 ed3eabc64d rename file worker.go -> handler.go, update tribalwarshelp/shared package, small refactor 2020-10-25 14:58:04 +01:00
Dawid Wysokiński 711760a568 log system improved 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 0872ee29ea update go-pg version 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 2ed0efbcf6 the cron messages are fully translatable 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 9932fc67c1 cron is now updating bot status every 6 hours 2020-10-25 14:57:48 +01:00
Dawid Wysokiński f63daf39d7 huge refactor 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 449297e71b add group system 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 604c932a4c refactor 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 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
Dawid Wysokiński cb8adc3c8a cron should store lastEnnobledAt individually for each server 2020-10-25 14:57:48 +01:00
Dawid Wysokiński c3c2491fa8 handler.since shouln't subtract anything from time.Now() 2020-10-25 14:57:48 +01:00
Dawid Wysokiński cf6a26194f add dev.sh, code refactor, add village continent to its name 2020-10-25 14:57:48 +01:00
Dawid Wysokiński f6076f02d2 fix bug with village url 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 79feaeff04 rename AttachHandlers -> Attach 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 85432c140a we're sending now info about conquer using discord embed, change command syntax 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 5f9b114e13 handler.since should not subtract 30 minutes 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 4115558ee7 refactor, add default values to messageData constructor 2020-10-25 14:57:48 +01:00
Dawid Wysokiński a724fe29b9 v0.2 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 9ea3ab5f78 move v0.1 version to new branch 2020-06-05 14:36:29 +02:00
Dawid Wysokiński dcf839ed77 rename package 2020-06-02 09:00:40 +02:00
Dawid Wysokiński ee4369abff change cron messages content, rename some variables 2020-05-31 13:16:24 +02:00
Dawid Wysokiński e71b45c2e8 remove EXPOSE instruction from Dockerfile, rename cron.checkConquers -> cron.checkEnnoblements 2020-05-30 19:58:25 +02:00
Dawid Wysokiński 9ec3357780 v0.1 2020-05-30 12:43:11 +02:00