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

268 commits

Author SHA1 Message Date
Dragory
0eee5529b6 Port Censor and Spam plugins to use GuildSavedMessages events 2018-11-24 17:12:36 +02:00
Dragory
aee9d3d87c Update Knub to 12.2.0 2018-11-24 15:07:53 +02:00
Dragory
034391d9fe Add QueuedEventEmitter, use it for GuildSavedMessages events 2018-11-24 14:58:54 +02:00
Dragory
b2a7887fef GuildSavedMessages: save messages in a more compact way 2018-11-24 14:53:55 +02:00
Dragory
62b560a507 PostPlugin: don't require channel id for !edit 2018-11-24 14:34:05 +02:00
Dragory
9bb99e5539 GuildSavedMessages: only return non-deleted messages with find 2018-11-24 14:33:43 +02:00
Dragory
5fe2f9fc39 GuildSavedMessages: remove guild_id override 2018-11-24 14:23:10 +02:00
Dragory
f9ca7aeca9 Add missing is_permanent column to SavedMessage entity 2018-11-24 14:22:44 +02:00
Dragory
9488d93ac2 PostPlugin: save bot-posted messages 2018-11-24 14:19:47 +02:00
Dragory
6b89d1eda7 Some code reorganisation 2018-11-24 14:18:48 +02:00
Dragory
a60b1a5b22 Add MessageSaver plugin. Fix some buggy queries. 2018-11-24 14:01:06 +02:00
Dragory
3913440005 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2018-10-26 06:41:53 +03:00
Dragory
89dfeccd90 Switch from Knex to TypeORM. Update Knub. 2018-10-26 06:41:20 +03:00
Miikka
11a4922344 plugins.censor: make token filter case-insensitive 2018-10-05 20:22:19 +03:00
Dragory
97f32c5f15 Rename SpamLogs to Archives. Tweak spam archive format. 2018-08-18 19:51:51 +03:00
Dragory
ff99c1a84e Improve spam detection in laggy circumstances 2018-08-18 19:21:39 +03:00
Dragory
b2b9e93f8f fix(ModActions): don't create duplicate logs/cases for massbans; add more code comments 2018-08-18 13:34:57 +03:00
Dragory
a288c58995 prettier: increase max line width to 120 2018-08-18 13:24:13 +03:00
Dragory
bc437a9052 fix(censor): don't crash on invalid invites 2018-08-16 20:08:09 +03:00
Dragory
3a9f3ec696 Add massban command 2018-08-16 20:07:43 +03:00
Dragory
ad385ff28a !mutes fixes 2018-08-05 01:43:31 +03:00
Dragory
541e9fdea0 Add Tags plugin 2018-08-05 01:32:59 +03:00
Dragory
6040d1acb8 Rename migration 2018-08-05 01:32:31 +03:00
Dragory
570e644420 Update Knub to 10.0.0 2018-08-05 01:05:40 +03:00
Dragory
0438b08cc8 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
e58403f499 knexfile: fix issue with nullà dates 2018-08-05 00:45:54 +03:00
Dragory
8d80439214 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
132edd1c75 Update Knub to 9.6.6 2018-08-05 00:44:13 +03:00
Dragory
61ecade13d BotControl: add function to reload all global plugins, other tweaks 2018-08-05 00:43:58 +03:00
Dragory
3991858511 Add case_id to mutes. Add !mutes command to list mutes. 2018-08-05 00:18:50 +03:00
Dragory
128ae87b41 Add !guild_reload to reload the current guild's config and plugins 2018-08-03 19:26:54 +03:00
Dragory
141b6cbf43 Use fancier typings in ReactionRolesPlugin 2018-08-03 19:26:27 +03:00
Dragory
bebb870bcd Don't crash when sending a log message that is too long 2018-08-03 19:26:06 +03:00
Dragory
9b209e2fef Don't crash on Discord HTTP errors 2018-08-03 19:25:00 +03:00
Dragory
0012556832 fix(censor): handle unknown invites gracefully 2018-08-03 19:24:40 +03:00
Dragory
9e0bbc5cc6 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2018-08-03 19:12:21 +03:00
Miikka
46ba73c6e6 fix(spam): recent actions being considered from all users, not just the author of the message being evaluated 2018-08-03 11:23:08 +03:00
Dragory
1c2b9ddb99 Add zalgo filter in Censor plugin 2018-08-02 22:24:54 +03:00
Dragory
f6f975a339 Add default mod override for Spam plugin 2018-08-02 22:22:51 +03:00
Dragory
f165c906ad fix(spam): mute time being treated as seconds instead of minutes 2018-08-02 17:53:50 +03:00
Dragory
e424cddcd6 Change voice activity log format 2018-08-02 17:53:29 +03:00
Dragory
59439d128e fix: more db timezone issues 2018-08-02 17:53:03 +03:00
Dragory
f9baa15140 Allow browsing !search result pages 2018-08-02 04:00:42 +03:00
Dragory
1ef86eb97d Crash on errors after all 2018-08-02 03:46:29 +03:00
Dragory
546281d495 Don't ask 2018-08-02 03:04:16 +03:00
Dragory
8dde7fec76 Add optional 'expanded' param to !cases 2018-08-02 03:01:22 +03:00
Dragory
716a3ae3c6 Roll back and lock knex to 0.12.6
Newer Knex versions appear to have a bug that causes them to periodically
disconnect from the database. See the following issue for more details:

https://github.com/tgriesser/knex/issues/1833
2018-08-02 02:51:33 +03:00
Dragory
6c5a05c95c Cap !cases reason previews to 80-ish characters 2018-08-02 02:46:57 +03:00
Dragory
44792a824b Add some safeguards against messages without an author 2018-08-02 02:28:52 +03:00
Dragory
29a229ba49 Don't crash on error; just console.error it 2018-08-02 01:19:20 +03:00