Commit graph

104 commits

Author SHA1 Message Date
Dragory
e787312a1a Fix !update and auto-updated mute cases 2018-12-22 14:05:06 +02:00
Dragory
1aaa4205e9 Add command to save specific messages to db 2018-12-22 13:57:55 +02:00
Dragory
d2a505f838 Remove mute_role config requirement from ModActions 2018-12-22 13:55:24 +02:00
Dragory
1a0bf1a525 Bold username on 'note added' mod action confirmation 2018-12-22 13:25:17 +02:00
Dragory
8d59420579 Add case number to mod action confirmations 2018-12-22 13:22:16 +02:00
Dragory
ce0b7ded08 Message archive formatting tweaks and fixes; only emit deleteBulk event from SavedMessages if any messages were actually marked as deleted 2018-12-22 13:06:40 +02:00
Dragory
3c3602f8d3 Log text/style tweaks; add message date to deletion logs 2018-12-22 12:38:52 +02:00
Dragory
1dd8266405 Fix buggy formatting in nickname reset logs 2018-12-22 12:28:48 +02:00
Dragory
9f7970efba Fix kick logs with !kick 2018-12-22 12:26:54 +02:00
Dragory
fecd9d96a9 Add !nick alias for !nickname 2018-12-15 23:02:57 +02:00
Dragory
0c8efedb8c Add Starboard plugin 2018-12-15 23:01:45 +02:00
Dragory
33d2026556 Fix removing event listeners in LogsPlugin 2018-12-15 23:01:26 +02:00
Dragory
2d2145eda3 Add !nickname command 2018-12-15 17:28:36 +02:00
Dragory
52c2bfa0b2 Move canActOn to ZeppelinPlugin base class 2018-12-15 17:24:09 +02:00
Dragory
2af174ba1f cleanup: use utils.noop instead of empty fn 2018-12-15 17:21:51 +02:00
Dragory
8d311590ad Don't log deletions/edits from the bot user 2018-12-15 17:19:23 +02:00
Dragory
62afd8e8e6 Show attachments in message deletion logs 2018-12-15 17:15:32 +02:00
Dragory
0431b3c225 Add Slowmode plugin 2018-12-15 17:04:04 +02:00
Dragory
a0e8c37701 Don't censor bot messages 2018-12-14 09:14:13 +02:00
Dragory
d94f06dba8 Don't persist 'false' voice mute state 2018-12-14 09:09:54 +02:00
Dragory
8c83b7d684 Fix for error when persisting voice state 2018-12-14 09:01:32 +02:00
Dragory
7154c006dc Fix error in unban 2018-12-14 08:54:15 +02:00
Dragory
2e30a3b9e7 Use actions/events for plugin interoperability. Move base case and mute functionality to their own plugins. 2018-11-25 17:04:26 +02:00
Dragory
22c515be38 Allow mentions in "!clean user"; fix some clean command bugs 2018-11-24 19:42:51 +02:00
Dragory
9687359105 Fix bulk message deletion logging. Remove !clean command and response after a short delay. 2018-11-24 19:33:29 +02:00
Dragory
40a20f94c1 ModActions: fix errors when listing too many cases 2018-11-24 19:14:12 +02:00
Dragory
2bce771c59 Create archives from bulk deletes and cleans. Use GuildSavedMessages for cleans. 2018-11-24 18:39:17 +02:00
Dragory
2c8603ca70 Use GuildSavedMessages events in logs. Fix code blocks in edit logs. 2018-11-24 17:59:05 +02:00
Dragory
1a6e680d81 Port Censor and Spam plugins to use GuildSavedMessages events 2018-11-24 17:12:36 +02:00
Dragory
cfc36be127 PostPlugin: don't require channel id for !edit 2018-11-24 14:34:05 +02:00
Dragory
7dd452f7dd PostPlugin: save bot-posted messages 2018-11-24 14:19:47 +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
Dragory
50fb696d62 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2018-10-26 06:41:53 +03:00
Dragory
f9c16263ae Switch from Knex to TypeORM. Update Knub. 2018-10-26 06:41:20 +03:00
Miikka
6720a9a70e
plugins.censor: make token filter case-insensitive 2018-10-05 20:22:19 +03:00
Dragory
e3ff4cef45 Rename SpamLogs to Archives. Tweak spam archive format. 2018-08-18 19:51:51 +03:00
Dragory
c9db802638 Improve spam detection in laggy circumstances 2018-08-18 19:21:39 +03:00
Dragory
86f7d268db fix(ModActions): don't create duplicate logs/cases for massbans; add more code comments 2018-08-18 13:34:57 +03:00
Dragory
622a8c3316 fix(censor): don't crash on invalid invites 2018-08-16 20:08:09 +03:00
Dragory
1f4b89700c Add massban command 2018-08-16 20:07:43 +03:00
Dragory
741118d877 !mutes fixes 2018-08-05 01:43:31 +03:00
Dragory
4a1a14be59 Add Tags plugin 2018-08-05 01:32:59 +03:00
Dragory
ff9db47c7a ModActions: don't re-message on overlapping mute, update old case instead; allow specifying an unmute time 2018-08-05 00:58:03 +03:00
Dragory
21c713255c LogServer: retry starting the web server if it fails due to EADDRINUSE (probably old instance of the bot still shutting down) 2018-08-05 00:45:35 +03:00
Dragory
c119424bd5 BotControl: add function to reload all global plugins, other tweaks 2018-08-05 00:43:58 +03:00
Dragory
7a372533ec Add case_id to mutes. Add !mutes command to list mutes. 2018-08-05 00:18:50 +03:00
Dragory
60c434999e Add !guild_reload to reload the current guild's config and plugins 2018-08-03 19:26:54 +03:00
Dragory
1b151fff24 Use fancier typings in ReactionRolesPlugin 2018-08-03 19:26:27 +03:00
Dragory
32856329b5 Don't crash when sending a log message that is too long 2018-08-03 19:26:06 +03:00