Commit Graph

20 Commits

Author SHA1 Message Date
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
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
de0145a6c6
Better error handling for invalid server 2019-07-11 23:17:21 +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
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
d662784d86
Allow bot owner to print debug stats 2019-06-15 14:15:34 +02:00
c8847824ee
ktlint 2019-06-15 11:49:32 +02:00
f03f9bdb9f
Make permission denied message optional 2019-06-15 11:47:11 +02:00
120079ba3d
fixed all unit tests
also added a new one I noticed was missing
2019-06-14 23:16:31 +02:00
3d80540c03
Allow partial config reloads 2019-06-14 21:23:17 +02:00
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