kageru
c59c0fdcd6
Rewrite Config to be a ConfigParser object
2019-07-13 15:32:23 +02:00
kageru
23afb34a97
ktlint (again)
2019-07-13 14:52:05 +02:00
kageru
dc14e3ee1e
Use lists for embed content configuration ( fixes #12 )
2019-07-12 14:08:22 +02:00
kageru
65a4ac5bed
Parse readable message content for commands
2019-07-11 23:51:03 +02:00
kageru
e3ab2d512f
Fix redirection to DM channels
2019-07-11 23:30:39 +02:00
kageru
de0145a6c6
Better error handling for invalid server
2019-07-11 23:17:21 +02:00
kageru
5004de35e1
updated gitignore
2019-07-11 22:26:44 +02:00
kageru
cb753b47ed
Added configurable role assignments ( closes #3 )
2019-07-11 22:17:20 +02:00
kageru
344148cd03
Add features as configurable command output
2019-07-11 21:24:47 +02:00
kageru
731867f59e
Use utility function to check embed contents
2019-07-11 20:39:17 +02:00
kageru
79f84ff4dd
Split raw config components into multiple files
2019-07-11 20:27:12 +02:00
kageru
931a8cdf19
Added !help feature
2019-07-11 20:14:22 +02:00
kageru
32eca9e7aa
Add interfaces for easier feature handling
2019-07-07 14:32:40 +02:00
kageru
4150187bbe
Pull commands out of config object
2019-07-07 14:19:13 +02:00
kageru
ac75239197
Add optional !welcome command for welcome feature ( closes #7 )
2019-07-07 11:08:49 +02:00
kageru
b08deb6e8d
Add configurable embeds as command outputs
2019-07-07 10:54:20 +02:00
kageru
85206a7fc3
Add shadow jar task
2019-07-07 10:21:24 +02:00
kageru
321999e6b2
cleanup in build file
2019-07-07 09:53:04 +02:00
kageru
1a8c9fdb6f
move field declaration in debug features up
2019-06-15 22:21:53 +02:00
kageru
3890b2bba9
Log command executions
2019-06-15 14:35:17 +02:00
kageru
d662784d86
Allow bot owner to print debug stats
2019-06-15 14:15:34 +02:00
kageru
f0db8b5c26
Put features into separate files
2019-06-15 12:59:02 +02:00
kageru
d6d45f8df6
move main function to kagebot class
2019-06-15 12:55:47 +02:00
kageru
cefadba58f
Refactor redundant nonnull assertion
2019-06-15 12:48:23 +02:00
kageru
ab1d4729f4
Send uncaught errors to bot owner via DM
2019-06-15 12:27:20 +02:00
kageru
2ed5d6ab19
added tests for welcome feature
2019-06-15 12:03:43 +02:00
kageru
c8847824ee
ktlint
2019-06-15 11:49:32 +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
3d80540c03
Allow partial config reloads
2019-06-14 21:23:17 +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
1836844950
Send a copy of each deleted message to the original author
2019-06-10 14:15:03 +02:00
kageru
41a1e62574
use json annotations to make config more intuitive
2019-06-10 13:03:18 +02:00
kageru
f2ece85d56
allow excluding roles from commands
2019-06-10 09:19:03 +02:00
kageru
1da7800f3d
make mocks nicer
2019-06-10 08:32:18 +02:00
kageru
18ea000b9d
Better prefix trimming for redirects
2019-06-10 08:18:44 +02:00
kageru
92dc0a3322
Added redirect action
2019-06-09 19:28:32 +02:00
kageru
6d7cd5b776
Add neededRoles parameter to command
2019-06-09 01:04:00 +02:00
kageru
a91dda33c7
remove admin parameter from config
2019-06-09 00:03:48 +02:00
kageru
208de19ff4
made response optional
2019-06-08 23:51:29 +02:00
kageru
4aaebf2a0a
add deletion parameter to command
2019-06-08 23:50:39 +02:00
kageru
3fd802682b
add unit tests
2019-06-08 21:52:47 +02:00
kageru
da8b717831
put bot initialization in separate file
2019-06-08 21:52:30 +02:00
kageru
24d43c4a7f
support @mention of author in response
2019-06-08 21:14:57 +02:00
kageru
80eca6a2af
Less nesting in config
2019-06-08 13:03:33 +02:00
kageru
c72219eabb
properly parse config with nullability
2019-06-08 12:28:14 +02:00
kageru
dd37444393
add match types to config
2019-06-08 12:27:57 +02:00
kageru
effd106847
bot runs and can ping/pong
2019-06-08 11:07:52 +02:00
kageru
573e32d7e0
initial commit, gradle setup
2019-06-06 20:02:47 +02:00