3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-18 15:00:00 +00:00
Commit graph

29 commits

Author SHA1 Message Date
Dragory
ee6d622941 Auto-generate plugin docs (WIP) 2019-08-22 01:22:26 +03:00
Dragory
3e0498f96b Typing fixes; show last reload time in !about 2019-07-22 00:09:45 +03:00
Dragory
74c78f51ce Add io-ts config schemas to all guild plugins 2019-07-21 21:15:52 +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
f63ae2f4cc Some fixes for slowmodes not being removed properly 2019-05-11 06:22:26 +03:00
Dragory
3ec35b4ebb !slowmode with only the channel argument now shows that channel's current slowmode; show error if the bot was unable to apply a native slowmode 2019-05-07 22:24:59 +03:00
Dragory
8a3097f63e Add a generic bot alert log type. Use this in several places. 2019-05-04 19:18:16 +03:00
Dragory
6ed8aba35f Optimizations + debug logging 2019-05-02 18:34:15 +03:00
Dragory
ac7f6e728b User resolving optimizations + debug logging 2019-05-02 18:14:36 +03:00
Dragory
f4a545c94d Fix api error check when applying slowmode 2019-05-02 17:47:18 +03:00
Dragory
4338bcd839 Add debug logging for failed slowmodes due to permissions 2019-05-02 08:47:44 +03:00
Dragory
1e2b68119c Fix member fetching in a few places 2019-05-02 08:21:11 +03:00
Dragory
9f7f87dc77 Fix some argument type names 2019-04-20 19:55:35 +03:00
Dragory
d7079df83d Make !slowmode 0 an alias for !slowmode disable 2019-04-20 19:33:39 +03:00
Dragory
608f17c532 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
Miikka
24e16078ec
Fix bot-maintained slowmodes not being applied 2019-04-15 14:11:58 +03:00
Miikka
160c31baf7
Fix slowmodes longer than 6h 2019-04-15 14:01:49 +03:00
Dragory
1ead037b8a Allow overriding default unit for delay strings; use seconds by default for slowmodes 2019-04-14 14:05:16 +03:00
Dragory
503f1ff170 Use command aliases/overloads where applicable 2019-04-13 02:23:45 +03:00
Dragory
d77105c831 Slowmode: support native slowmode up to 6h 2019-04-13 01:56:11 +03:00
Dragory
50f5792bc5 Update to Knub 19.1.1 and update plugins accordingly 2019-04-13 01:44:18 +03:00
Dragory
0be819462b Slowmode: don't act on messages with interrupted locks (e.g. censored messages); add !slowmode list 2019-03-16 12:32:25 +02:00
Dragory
cabccf5bd3 Slowmode: add support for native slowmode 2019-03-16 11:26:50 +02: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
ac17cdc1bc More non-blocking optimization 2019-01-13 23:37:53 +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
ae158d6b48 slowmode: add !slowmode clear to clear slowmode from specific users 2019-01-03 04:15:18 +02:00
Dragory
0431b3c225 Add Slowmode plugin 2018-12-15 17:04:04 +02:00