Commit Graph

22 Commits

Author SHA1 Message Date
kageru 7eadb2d67d
Shorten command permission checks 2019-11-11 20:00:53 +01:00
kageru 288be7e4f5
Remove permission denied message 2019-11-11 19:49:45 +01:00
kageru bb03474bf5
Rewrite config to use Konf (3): Commands 2019-10-18 22:03:56 +02:00
kageru 17c7120796
Rewrite config to use Konf (2): Localization 2019-10-18 22:03:56 +02:00
kageru f314c20dd8
Make command matching case-insensitive 2019-08-30 15:27:11 +02:00
kageru f871d2a381
Only break from command match loop after successfully executing a command
This means you can have multiple commands with the same or overlappings triggers,
and the bot will execute the first the user has access to.
2019-08-07 15:13:16 +02:00
kageru c400ab7369
Reduce complexity of redirect text handling 2019-07-17 22:47:47 +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 c59c0fdcd6
Rewrite Config to be a ConfigParser object 2019-07-13 15:32:23 +02:00
kageru dc14e3ee1e
Use lists for embed content configuration (fixes #12) 2019-07-12 14:08:22 +02:00
kageru 344148cd03
Add features as configurable command output 2019-07-11 21:24:47 +02:00
kageru 931a8cdf19
Added !help feature 2019-07-11 20:14:22 +02:00
kageru b08deb6e8d
Add configurable embeds as command outputs 2019-07-07 10:54:20 +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 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 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 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