kageru
83a7b2cbdf
Fix tests
2020-03-10 13:00:08 +01:00
kageru
39083d8248
Indent with 2 spaces instead of 4
2019-11-14 15:10:30 +01:00
kageru
f1b727662a
replace CompletableFuture.failed with Option folding
2019-11-12 22:22:32 +01:00
kageru
ccf76e7c64
Sort extensions by target
2019-11-12 22:10:26 +01:00
kageru
69c3ae80b8
Consistently use Javacord extensions
2019-11-12 22:02:32 +01:00
kageru
2c56e1959a
Use Either monad for timeout parsing
2019-11-12 21:13:01 +01:00
kageru
50b97fdec7
No longer throw exceptions for role/channel queries
2019-11-12 19:25:42 +01:00
kageru
3d813384e2
Start migrating to Arrow Options
2019-11-11 23:52:14 +01:00
kageru
e7f47b7420
Clean up Util.kt
2019-09-17 22:59:55 +02:00
kageru
c49a122622
Update dependencies
2019-09-17 22:04:52 +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
93a6e92191
Add minimal implementation of timeout feature
2019-07-23 21:50:55 +02:00
kageru
d425687fb5
Cleanup in main classes
2019-07-17 23:17:31 +02:00
kageru
c400ab7369
Reduce complexity of redirect text handling
2019-07-17 22:47:47 +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
c8123cca4e
Make all log methods static
2019-07-17 21:16:17 +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
23afb34a97
ktlint (again)
2019-07-13 14:52:05 +02:00
kageru
e3ab2d512f
Fix redirection to DM channels
2019-07-11 23:30:39 +02:00
kageru
cb753b47ed
Added configurable role assignments ( closes #3 )
2019-07-11 22:17:20 +02:00
kageru
ab1d4729f4
Send uncaught errors to bot owner via DM
2019-06-15 12:27:20 +02:00
kageru
f03f9bdb9f
Make permission denied message optional
2019-06-15 11:47:11 +02:00
kageru
120079ba3d
fixed all unit tests
...
also added a new one I noticed was missing
2019-06-14 23:16:31 +02:00
kageru
62bdb582de
Properly await future before checking their return code
2019-06-13 00:19:02 +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
f2ece85d56
allow excluding roles from commands
2019-06-10 09:19:03 +02:00
kageru
92dc0a3322
Added redirect action
2019-06-09 19:28:32 +02:00
kageru
4aaebf2a0a
add deletion parameter to command
2019-06-08 23:50:39 +02:00
kageru
24d43c4a7f
support @mention of author in response
2019-06-08 21:14:57 +02:00