Commit Graph

16 Commits

Author SHA1 Message Date
Dawid Wysokiński 0e45085f2a fix wrong indexes in splitEmbedFields 2021-07-18 12:34:16 +02:00
Dawid Wysokiński 1833d3893d remove unnecessary +1 in splitEmbedFields 2021-07-18 12:26:07 +02:00
Dawid Wysokiński 0d669e0c01 add a command handler interface, refactor - coords translation commands 2021-07-18 08:11:18 +02:00
Dawid Wysokiński fee7b101cd Session.SendEmbed refactor 2021-07-18 07:41:54 +02:00
Dawid Wysokiński 937e50b23e remove unnecessary allocation in isValidLanguageTag, rename getEmojiForGroupsCommand -> boolToEmoji 2021-07-18 07:28:48 +02:00
Dawid Wysokiński 704928d9b4 rename MessageEmbed -> MessageEmbedFieldBuilder 2021-07-18 07:25:16 +02:00
Dawid Wysokiński 438cca1146 remove comments from embed.go 2021-07-17 17:43:13 +02:00
Dawid Wysokiński 35d9a563fb rename one variable in Session.SendEmbed, remove comments from embed.go 2021-07-17 17:42:38 +02:00
Dawid Wysokiński cf063441f3 decrease embed size limit 2020-11-04 20:48:52 +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 a5af1d2c9b add coords translator feature 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 68babe0762 bot should send only one message per channel with all conquers/losess 2020-10-25 14:57:48 +01:00
Dawid Wysokiński 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
Dawid Wysokiński c944cd5e53 fix app crash when sdk returns nil pointer 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 85432c140a we're sending now info about conquer using discord embed, change command syntax 2020-10-25 14:57:48 +01:00