3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-18 07:35:02 +00:00
Commit graph

31 commits

Author SHA1 Message Date
Dragory
039f0452fb Add io-ts config schemas to all guild plugins 2019-07-21 21:15:52 +03:00
Dragory
bf11d1e3d5 Mutes: only post 'all mutes posted' confirmation if there are more than a couple chunks 2019-07-11 12:38:50 +03:00
Dragory
1f615f2af0 Mutes: don't crash if the loading message for !mutes was already deleted 2019-07-11 12:37:49 +03:00
Miikka
51fa33e190 Merge pull request #12 from DarkView/MutesListLoadingMessage
Implemented loading and finished message for the mutes command
2019-07-11 12:37:04 +03:00
Dragory
96488c4761 Clarify default mute message wording 2019-06-22 18:50:09 +03:00
Nils Blömeke
f35206e3f2 Implemented loading and finished message 2019-06-18 23:43:01 +02:00
Dragory
9109e9a2c3 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
c7fc789c1e Add a generic bot alert log type. Use this in several places. 2019-05-04 19:18:16 +03:00
Dragory
5ed953eeb6 Fix missing pings/mentions in logs 2019-05-03 08:08:21 +03:00
Dragory
d0ed8fd4e9 Properly clear expired mutes even if the user has left the server 2019-05-02 18:41:34 +03:00
Dragory
2e74b2de72 Optimizations + debug logging 2019-05-02 18:34:15 +03:00
Dragory
6caa12c84d Temp fix for AFK channel move on mute 2019-05-02 08:51:48 +03:00
Dragory
7f73e10007 Add some extra logging for failed role removals on unmute 2019-05-02 08:22:39 +03:00
Dragory
ef9afee8b4 Fix member fetching in a few places 2019-05-02 08:21:11 +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
4e5f87fb49 Work on better error messages for mod actions, allow muting users that are not on the server; WIP 2019-04-18 08:45:51 +03:00
Dragory
2dd6fb22fe Notify user for spam detection mutes. Add notification status ('user notified in DMs' etc.) to the case. Log case updates. Add 'unmuted immediately' to the case for unmutes without a time. 2019-04-13 17:35:02 +03:00
Dragory
a034a614b7 mute list: show whether the user has left the server or been banned; allow filtering by whether the user has left with --left 2019-04-13 03:17:09 +03:00
Dragory
489ad20e40 Allow filtering !mutes with --age 2019-04-13 02:39:36 +03:00
Dragory
289b425a25 Update to Knub 19.1.1 and update plugins accordingly 2019-04-13 01:44:18 +03:00
Dragory
0554e8db06 Mutes: add move_to_voice_channel option 2019-03-20 00:24:32 +02: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
2cb68ff9c5 GuildActions: create overloads for known actions; refactor certain actions, using only 1 args object; mutes: move !mutes to the Mutes plugin, fix case number not showing in mute list, make mute list prettier 2019-02-15 05:07:28 +02:00
Dragory
6ea6b892df Add command to clear dangling active mutes 2019-01-13 16:54:31 +02:00
Dragory
824b9dddd8 Mutes: possible fix for clear_banned_mutes 2019-01-12 15:03:15 +02:00
Dragory
e4d670ae51 Mutes: add better logging for clear_banned_mutes cmd 2019-01-12 14:56:47 +02:00
Dragory
1b0e08b1fe Mutes: clear active mute if the mute role is removed; add command for similar cleanup 2019-01-12 14:51:38 +02:00
Dragory
3f5d996537 Mutes: clear mutes if the user is banned; add command for clearing mutes from banned users 2019-01-12 14:39:22 +02:00
Dragory
af68361516 Mutes: fix error in postMuteList 2019-01-12 14:32:40 +02:00
Dragory
12f309d412 Update to Knub 14.0.0 and make changes to plugins accordingly 2019-01-03 06:15:28 +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