Commit graph

16 commits

Author SHA1 Message Date
Dragory
74c78f51ce Add io-ts config schemas to all guild plugins 2019-07-21 21:15:52 +03:00
Dragory
da114c0e60 Switch from ajv to io-ts for config validation; validate configs on save in the API/dashboard; start work on creating io-ts schemas for all plugins 2019-07-11 12:23:57 +03:00
Dragory
6111ecebe1 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2019-06-22 18:52:49 +03:00
Miikka
c576d9a37c
Fix perms in MessageSaver 2019-06-11 10:26:50 +03:00
Dragory
d54897acdd Split BaseRepository into non-guild and guild
BaseRepository includes all the non-guild-specific functionality,
such as with() and getRelations().
BaseGuildRepository includes guild-specific functionality, such as
getInstance().
2019-05-25 21:25:34 +03:00
Dragory
50f5792bc5 Update to Knub 19.1.1 and update plugins accordingly 2019-04-13 01:44:18 +03:00
Dragory
b7b42705f9 Add types for all plugin configs and permissions. Update code to work with Knub 18. 2019-03-04 21:44:04 +02:00
Dragory
ed3760313f Update to Knub 17.0.1, remove all d.nonBlocking() calls 2019-02-17 15:19:55 +02:00
Dragory
ba01dd9ce5 Make several event handlers non-blocking for performance 2019-01-13 23:31:09 +02:00
Dragory
b0cd8762f1 Update to Knub 14.0.0 and make changes to plugins accordingly 2019-01-03 06:15:28 +02:00
Dragory
7bbe0c7d8d MessageSaver: make message saving commands non-blocking 2018-12-22 14:20:19 +02:00
Dragory
69ca513aee Add command to save pins to the message database 2018-12-22 14:10:38 +02:00
Dragory
1aaa4205e9 Add command to save specific messages to db 2018-12-22 13:57:55 +02:00
Dragory
2bce771c59 Create archives from bulk deletes and cleans. Use GuildSavedMessages for cleans. 2018-11-24 18:39:17 +02:00
Dragory
b692c06b4f Some code reorganisation 2018-11-24 14:18:48 +02:00
Dragory
ba2ad8a528 Add MessageSaver plugin. Fix some buggy queries. 2018-11-24 14:01:06 +02:00