Commit Graph

129 Commits

Author SHA1 Message Date
60797c21d0
Remove toPairs helper in favor of stdlib functionality 2019-08-01 13:15:05 +02:00
35bd570c93
Add optional reason to timeout command (closes #14) 2019-07-28 18:50:53 +02:00
b4c2275670
Send DM to user after timeout 2019-07-25 21:27:25 +02:00
8560c3d82e
Add tests to timeout feature (closes #4) 2019-07-25 21:04:13 +02:00
c299406d69
Add logging and error handling to timeouts 2019-07-25 20:19:01 +02:00
7bbcaba49c
Close DB on shutdown
Apparently, we can’t trust the library to handle this, as their hook
seems to fail.
2019-07-23 23:31:23 +02:00
3944b07ec0
Don’t remove managed roles for timeout 2019-07-23 23:27:04 +02:00
93a6e92191
Add minimal implementation of timeout feature 2019-07-23 21:50:55 +02:00
74c2f643f9
Add simple Dao to persistently store key, value pairs 2019-07-23 19:22:07 +02:00
7efeb9bace
Add logging for welcome messages 2019-07-23 11:26:48 +02:00
39ceaffa6c
Pull event handling into interface 2019-07-17 23:47:12 +02:00
b9f1c6e540
Make message processing an extension function 2019-07-17 23:22:18 +02:00
d425687fb5
Cleanup in main classes 2019-07-17 23:17:31 +02:00
e6f73bb178
Minor cleanup in SetConfigFeature 2019-07-17 22:56:31 +02:00
31c5cd7135
Linefeeds in DebugFeature 2019-07-17 22:52:47 +02:00
d6320bb5de
Simplify config file loading 2019-07-17 22:51:36 +02:00
c400ab7369
Reduce complexity of redirect text handling 2019-07-17 22:47:47 +02:00
691bc408c0
Refactor embed handling 2019-07-17 22:40:44 +02:00
8be98f161f
Make sending embeds nicer 2019-07-17 22:06:20 +02:00
cdc053a443
Added test for SetConfigFeature
Closes #10
2019-07-17 21:42:02 +02:00
c8123cca4e
Make all log methods static 2019-07-17 21:16:17 +02:00
6069795caa
Add deployment script 2019-07-17 21:10:50 +02:00
f82ed7be56
Actually persist config after reloading it 2019-07-14 21:07:19 +02:00
d0b3bb608b
Reload config at runtime via command + attachment
This implements #10, but I want to write tests before closing that.
2019-07-14 20:40:23 +02:00
8a1308f98d
Added readme and changelog 2019-07-14 18:36:36 +02:00
b0d3475469
Add getConfig feature to retrieve the current config file
This implements #11 and is preparation for config reloading at runtime
2019-07-14 17:14:23 +02:00
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
b47dc34ff0
Add .idea to gitignore 2019-07-13 15:40:27 +02:00
f56df24c4f
Split Globals into Globals and Config 2019-07-13 15:39:50 +02:00
c59c0fdcd6
Rewrite Config to be a ConfigParser object 2019-07-13 15:32:23 +02:00
23afb34a97
ktlint (again) 2019-07-13 14:52:05 +02:00
dc14e3ee1e
Use lists for embed content configuration (fixes #12) 2019-07-12 14:08:22 +02:00
65a4ac5bed
Parse readable message content for commands 2019-07-11 23:51:03 +02:00
e3ab2d512f
Fix redirection to DM channels 2019-07-11 23:30:39 +02:00
de0145a6c6
Better error handling for invalid server 2019-07-11 23:17:21 +02:00
5004de35e1
updated gitignore 2019-07-11 22:26:44 +02:00
cb753b47ed
Added configurable role assignments (closes #3) 2019-07-11 22:17:20 +02:00
344148cd03
Add features as configurable command output 2019-07-11 21:24:47 +02:00
731867f59e
Use utility function to check embed contents 2019-07-11 20:39:17 +02:00
79f84ff4dd
Split raw config components into multiple files 2019-07-11 20:27:12 +02:00
931a8cdf19
Added !help feature 2019-07-11 20:14:22 +02:00
32eca9e7aa
Add interfaces for easier feature handling 2019-07-07 14:32:40 +02:00
4150187bbe
Pull commands out of config object 2019-07-07 14:19:13 +02:00
ac75239197
Add optional !welcome command for welcome feature (closes #7) 2019-07-07 11:08:49 +02:00
b08deb6e8d
Add configurable embeds as command outputs 2019-07-07 10:54:20 +02:00
85206a7fc3
Add shadow jar task 2019-07-07 10:21:24 +02:00
321999e6b2
cleanup in build file 2019-07-07 09:53:04 +02:00
1a8c9fdb6f
move field declaration in debug features up 2019-06-15 22:21:53 +02:00
3890b2bba9
Log command executions 2019-06-15 14:35:17 +02:00
d662784d86
Allow bot owner to print debug stats 2019-06-15 14:15:34 +02:00