|
cf063441f3
|
decrease embed size limit
|
2020-11-04 20:48:52 +01:00 |
|
|
88aa66afdf
|
update github.com/tribalwarshelp/shared
|
2020-10-31 12:16:21 +01:00 |
|
|
ed3eabc64d
|
rename file worker.go -> handler.go, update tribalwarshelp/shared package, small refactor
|
2020-10-25 14:58:04 +01:00 |
|
|
711760a568
|
log system improved
|
2020-10-25 14:57:48 +01:00 |
|
|
0872ee29ea
|
update go-pg version
|
2020-10-25 14:57:48 +01:00 |
|
|
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 |
|
|
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 |
|
|
2a1be4856b
|
change default message about gained/lost village
|
2020-10-25 14:57:48 +01:00 |
|
|
3b80cf18b6
|
update readme.md and Dockerfile, add LICENSE
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
93bb8b5026
|
when lastEnnoblement is initializing, it should subtract 1 minute from time.Now()
|
2020-10-25 14:57:48 +01:00 |
|
|
604c932a4c
|
refactor
|
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 |
|
|
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 |
|
|
cb8adc3c8a
|
cron should store lastEnnobledAt individually for each server
|
2020-10-25 14:57:48 +01:00 |
|
|
c3c2491fa8
|
handler.since shouln't subtract anything from time.Now()
|
2020-10-25 14:57:48 +01:00 |
|
|
cf6a26194f
|
add dev.sh, code refactor, add village continent to its name
|
2020-10-25 14:57:48 +01:00 |
|
|
f6076f02d2
|
fix bug with village url
|
2020-10-25 14:57:48 +01:00 |
|
|
79feaeff04
|
rename AttachHandlers -> Attach
|
2020-10-25 14:57:48 +01:00 |
|
|
85432c140a
|
we're sending now info about conquer using discord embed, change command syntax
|
2020-10-25 14:57:48 +01:00 |
|
|
0d4f3d4b3a
|
update message format
|
2020-10-25 14:57:48 +01:00 |
|
|
5f9b114e13
|
handler.since should not subtract 30 minutes
|
2020-10-25 14:57:48 +01:00 |
|
|
4115558ee7
|
refactor, add default values to messageData constructor
|
2020-10-25 14:57:48 +01:00 |
|
|
a724fe29b9
|
v0.2
|
2020-10-25 14:57:48 +01:00 |
|
|
9ea3ab5f78
|
move v0.1 version to new branch
|
2020-06-05 14:36:29 +02:00 |
|
|
dcf839ed77
|
rename package
|
2020-06-02 09:00:40 +02:00 |
|
|
ee4369abff
|
change cron messages content, rename some variables
|
2020-05-31 13:16:24 +02:00 |
|
|
e71b45c2e8
|
remove EXPOSE instruction from Dockerfile, rename cron.checkConquers -> cron.checkEnnoblements
|
2020-05-30 19:58:25 +02:00 |
|
|
9ec3357780
|
v0.1
|
2020-05-30 12:43:11 +02:00 |
|