Commit Graph

19 Commits

Author SHA1 Message Date
kageru 39083d8248
Indent with 2 spaces instead of 4 2019-11-14 15:10:30 +01:00
kageru cd9ee0e881
Simplifications 2019-11-13 23:18:28 +01:00
kageru f1b727662a
replace CompletableFuture.failed with Option folding 2019-11-12 22:22:32 +01:00
kageru 5cc34c9e29
Add arrow-kt 2019-11-11 18:10:28 +01:00
kageru e31d46ceb5
Rewrite config to use Konf (1): SystemConfig 2019-10-18 22:03:18 +02:00
kageru e3219c7800
Revert "Remove toPairs helper in favor of stdlib functionality"
This reverts commit 60797c21d0.
2019-08-05 22:14:07 +02:00
kageru 0ae5e83641
Add logging for errors while sending embeds
Not that it’s worth much because the discord API is a useless piece of
trash when it comes to error messages. Like, seriously. Might as well
throw no error at all.
Received a 400 response from Discord with body {"embed": ["fields"]}!
Thanks for nothing. Fix in next commit.
2019-08-05 22:12:45 +02:00
kageru 60797c21d0
Remove toPairs helper in favor of stdlib functionality 2019-08-01 13:15:05 +02:00
kageru 691bc408c0
Refactor embed handling 2019-07-17 22:40:44 +02:00
kageru 8be98f161f
Make sending embeds nicer 2019-07-17 22:06:20 +02:00
kageru 911707a680
Embeds now consistently show the current time
Fixes #13. Thanks to CommanderLook for pointing this out.
2019-07-14 16:36:11 +02:00
kageru f56df24c4f
Split Globals into Globals and Config 2019-07-13 15:39:50 +02:00
kageru dc14e3ee1e
Use lists for embed content configuration (fixes #12) 2019-07-12 14:08:22 +02:00
kageru b08deb6e8d
Add configurable embeds as command outputs 2019-07-07 10:54:20 +02:00
kageru c8847824ee
ktlint 2019-06-15 11:49:32 +02:00
kageru 7ebafc9958
Completely rewrote config
Added a rawconfig as an intermediate step when parsing the TOML.
This will make nullability much more reliable and also gives me lots of
options in the future. It also broke all tests because reading the
config (not the raw config) now depends on the discord API. :tehe:
2019-06-12 23:43:36 +02:00
kageru 41a1e62574
use json annotations to make config more intuitive 2019-06-10 13:03:18 +02:00
kageru 92dc0a3322
Added redirect action 2019-06-09 19:28:32 +02:00
kageru 24d43c4a7f
support @mention of author in response 2019-06-08 21:14:57 +02:00