Dragory
fba6ae96ba
Add forceFresh parameter to resolveMember. Clean up resolveUser/resolveMember code.
2019-08-04 13:14:23 +03:00
Dragory
28b4541e79
Fix unknown property validation; fix override validation; be clear about which property is unknown
2019-07-22 13:09:05 +03:00
Dragory
24afc0a503
Typing fixes; show last reload time in !about
2019-07-22 00:09:45 +03:00
Miikka
a161e2635f
Merge pull request #10 from DarkView/FixMutingTheBot
...
Include or check to see if the acted on member is the bot
2019-07-11 12:36:17 +03:00
Dragory
3f4724b699
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
Nils Blömeke
3ca55bbbf5
Include or check to see if the acted on member is the bot
2019-06-17 19:08:15 +02:00
Dragory
cf81152f2f
Make plugin schema & validation static
2019-05-25 14:39:26 +03:00
Dragory
f8b2c71fef
User resolving optimizations + debug logging
2019-05-02 18:14:36 +03:00
Dragory
ba7fbd87a7
Add custom argument types for deep-resolved users/members, use these in some places. Deprecate unknownUser (constant) and replace with instances of UnknownUser (class).
2019-04-20 19:03:30 +03:00
Dragory
9a206455dc
Deprecate GuildActions. Fix double case posting when muting a user for message spam. Update to new mute/case style when muting a user for "other" spam.
...
GuildActions turned out to be a fairly pointless abstraction in the end.
It didn't really solve the problems it was meant to solve (that is,
reduce code spaghetti by having all inter-plugin calls go through a
single service, and allow easier ways to replace core plugins with
alternatives that share the same interface) any better than simply
using `this.getPlugin()` when needed, and introduced extra complexity
and made static analysis messier.
2019-04-20 17:36:28 +03:00
Dragory
4110239f30
Add !help
2019-04-13 03:54:36 +03:00
Dragory
289b425a25
Update to Knub 19.1.1 and update plugins accordingly
2019-04-13 01:44:18 +03:00
Dragory
1c77269643
Add types for all plugin configs and permissions. Update code to work with Knub 18.
2019-03-04 21:44:04 +02:00
Dragory
b0d2b984a4
ZeppelinPlugin: add utility function to check if we can use an emoji
2019-02-09 14:34:42 +02:00
Dragory
b673672761
Fix ZeppelinPlugins not loading properly
2019-02-06 20:06:03 +02:00
Dragory
0aa1c53189
Add support for plugin option schema validation
2019-01-19 15:39:04 +02:00
Dragory
ed4c85aa89
Fix error introduced in the update to Knub 14.0.0 in ZeppelinPlugin
2019-01-03 06:17:39 +02:00
Dragory
c30f47d2ce
Move canActOn to ZeppelinPlugin base class
2018-12-15 17:24:09 +02:00
Dragory
1020747398
Use actions/events for plugin interoperability. Move base case and mute functionality to their own plugins.
2018-11-25 17:04:26 +02:00