Commit graph

  • e787312a1a Fix !update and auto-updated mute cases Dragory 2018-12-22 14:05:06 +02:00
  • 1aaa4205e9 Add command to save specific messages to db Dragory 2018-12-22 13:57:55 +02:00
  • d2a505f838 Remove mute_role config requirement from ModActions Dragory 2018-12-22 13:55:24 +02:00
  • cf17374a24 Add user mention to member join log Dragory 2018-12-22 13:28:17 +02:00
  • 1a0bf1a525 Bold username on 'note added' mod action confirmation Dragory 2018-12-22 13:25:17 +02:00
  • 8d59420579 Add case number to mod action confirmations Dragory 2018-12-22 13:22:16 +02:00
  • ce0b7ded08 Message archive formatting tweaks and fixes; only emit deleteBulk event from SavedMessages if any messages were actually marked as deleted Dragory 2018-12-22 13:06:40 +02:00
  • dee4637a7f Small cleanup Dragory 2018-12-22 12:39:03 +02:00
  • 3c3602f8d3 Log text/style tweaks; add message date to deletion logs Dragory 2018-12-22 12:38:52 +02:00
  • 1dd8266405 Fix buggy formatting in nickname reset logs Dragory 2018-12-22 12:28:48 +02:00
  • 9f7970efba Fix kick logs with !kick Dragory 2018-12-22 12:26:54 +02:00
  • 022fcc537e Fix error when editing non-saved messages Dragory 2018-12-15 23:07:19 +02:00
  • fecd9d96a9 Add !nick alias for !nickname Dragory 2018-12-15 23:02:57 +02:00
  • 0c8efedb8c Add Starboard plugin Dragory 2018-12-15 23:01:45 +02:00
  • 33d2026556 Fix removing event listeners in LogsPlugin Dragory 2018-12-15 23:01:26 +02:00
  • a6b2fe5fed Update emoji-regex to 7.0.1 Dragory 2018-12-15 21:16:17 +02:00
  • daa264357b Update Knub to 13.1.0 and Eris to 0.9.0 Dragory 2018-12-15 21:07:05 +02:00
  • 9513f4f0c7 migrations: only drop tables if they exist Dragory 2018-12-15 17:38:34 +02:00
  • 2d2145eda3 Add !nickname command Dragory 2018-12-15 17:28:36 +02:00
  • 52c2bfa0b2 Move canActOn to ZeppelinPlugin base class Dragory 2018-12-15 17:24:09 +02:00
  • 2af174ba1f cleanup: use utils.noop instead of empty fn Dragory 2018-12-15 17:21:51 +02:00
  • 8d311590ad Don't log deletions/edits from the bot user Dragory 2018-12-15 17:19:23 +02:00
  • 62afd8e8e6 Show attachments in message deletion logs Dragory 2018-12-15 17:15:32 +02:00
  • 0431b3c225 Add Slowmode plugin Dragory 2018-12-15 17:04:04 +02:00
  • b02dae2890 Update Knub to 13.0.1 Dragory 2018-12-15 16:50:00 +02:00
  • f70a6f0669 tslint: allow bitwise operators Dragory 2018-12-15 16:31:50 +02:00
  • 66d1afbb81 ormconfig: fix slow cli commands; add db timeout Dragory 2018-12-15 16:29:38 +02:00
  • c5aea510e7 Update Knub to 13.0.0 Dragory 2018-12-15 16:29:16 +02:00
  • a0e8c37701 Don't censor bot messages Dragory 2018-12-14 09:14:13 +02:00
  • d94f06dba8 Don't persist 'false' voice mute state Dragory 2018-12-14 09:09:54 +02:00
  • 6e7338e5ec Fix error in restore plugin when saving is_voice_muted false Dragory 2018-12-14 09:08:18 +02:00
  • 8c83b7d684 Fix for error when persisting voice state Dragory 2018-12-14 09:01:32 +02:00
  • 7154c006dc Fix error in unban Dragory 2018-12-14 08:54:15 +02:00
  • e7b8c0d64d Add build process for prod Dragory 2018-12-14 06:47:58 +02:00
  • 1c27390b87 Move migrations under src Dragory 2018-12-14 06:45:50 +02:00
  • 1e45a2a7db Update package name in package.json and set it to private Dragory 2018-12-14 06:32:17 +02:00
  • 3f703d2b4b Update Typescript package to 3.2.2 Dragory 2018-12-14 06:30:26 +02:00
  • 42f45af499 Verify required Node.js version Dragory 2018-12-14 06:27:41 +02:00
  • 2e30a3b9e7 Use actions/events for plugin interoperability. Move base case and mute functionality to their own plugins. Dragory 2018-11-25 17:04:26 +02:00
  • 22c515be38 Allow mentions in "!clean user"; fix some clean command bugs Dragory 2018-11-24 19:42:51 +02:00
  • 9687359105 Fix bulk message deletion logging. Remove !clean command and response after a short delay. Dragory 2018-11-24 19:33:29 +02:00
  • a93f25d638 Update Knub to 12.2.2 Dragory 2018-11-24 19:30:42 +02:00
  • 40a20f94c1 ModActions: fix errors when listing too many cases Dragory 2018-11-24 19:14:12 +02:00
  • 2bce771c59 Create archives from bulk deletes and cleans. Use GuildSavedMessages for cleans. Dragory 2018-11-24 18:39:17 +02:00
  • f7b62429c6 Update Knub to 12.2.1 Dragory 2018-11-24 17:59:17 +02:00
  • 2c8603ca70 Use GuildSavedMessages events in logs. Fix code blocks in edit logs. Dragory 2018-11-24 17:59:05 +02:00
  • 1a6e680d81 Port Censor and Spam plugins to use GuildSavedMessages events Dragory 2018-11-24 17:12:36 +02:00
  • fbb1ee4719 Update Knub to 12.2.0 Dragory 2018-11-24 15:07:53 +02:00
  • effaff5dc8 Add QueuedEventEmitter, use it for GuildSavedMessages events Dragory 2018-11-24 14:58:54 +02:00
  • 01d73565b6 GuildSavedMessages: save messages in a more compact way Dragory 2018-11-24 14:53:55 +02:00
  • cfc36be127 PostPlugin: don't require channel id for !edit Dragory 2018-11-24 14:34:05 +02:00
  • 2f341d97d8 GuildSavedMessages: only return non-deleted messages with find Dragory 2018-11-24 14:33:43 +02:00
  • 68fa25fbc4 GuildSavedMessages: remove guild_id override Dragory 2018-11-24 14:23:10 +02:00
  • 07b9ca843b Add missing is_permanent column to SavedMessage entity Dragory 2018-11-24 14:22:44 +02:00
  • 7dd452f7dd PostPlugin: save bot-posted messages Dragory 2018-11-24 14:19:47 +02:00
  • b692c06b4f Some code reorganisation Dragory 2018-11-24 14:18:48 +02:00
  • ba2ad8a528 Add MessageSaver plugin. Fix some buggy queries. Dragory 2018-11-24 14:01:06 +02:00
  • 50fb696d62 Merge branch 'master' of github.com:Dragory/ZeppelinBot Dragory 2018-10-26 06:41:53 +03:00
  • f9c16263ae Switch from Knex to TypeORM. Update Knub. Dragory 2018-10-26 06:41:20 +03:00
  • 6720a9a70e
    plugins.censor: make token filter case-insensitive Miikka 2018-10-05 20:22:19 +03:00
  • e3ff4cef45 Rename SpamLogs to Archives. Tweak spam archive format. Dragory 2018-08-18 19:51:28 +03:00
  • c9db802638 Improve spam detection in laggy circumstances Dragory 2018-08-18 19:21:39 +03:00
  • 86f7d268db fix(ModActions): don't create duplicate logs/cases for massbans; add more code comments Dragory 2018-08-18 13:34:57 +03:00
  • aac3ac7dd8 prettier: increase max line width to 120 Dragory 2018-08-18 13:24:13 +03:00
  • 622a8c3316 fix(censor): don't crash on invalid invites Dragory 2018-08-16 20:08:09 +03:00
  • 1f4b89700c Add massban command Dragory 2018-08-16 20:07:43 +03:00
  • 741118d877 !mutes fixes Dragory 2018-08-05 01:43:31 +03:00
  • 4a1a14be59 Add Tags plugin Dragory 2018-08-05 01:32:59 +03:00
  • 54b79ca51f Rename migration Dragory 2018-08-05 01:32:31 +03:00
  • f9f0533ca7 Update Knub to 10.0.0 Dragory 2018-08-05 01:05:40 +03:00
  • ff9db47c7a ModActions: don't re-message on overlapping mute, update old case instead; allow specifying an unmute time Dragory 2018-08-05 00:58:03 +03:00
  • ea68512c7e knexfile: fix issue with nullà dates Dragory 2018-08-05 00:45:54 +03:00
  • 21c713255c LogServer: retry starting the web server if it fails due to EADDRINUSE (probably old instance of the bot still shutting down) Dragory 2018-08-05 00:45:35 +03:00
  • 39c2b1af81 Update Knub to 9.6.6 Dragory 2018-08-05 00:44:13 +03:00
  • c119424bd5 BotControl: add function to reload all global plugins, other tweaks Dragory 2018-08-05 00:43:58 +03:00
  • 7a372533ec Add case_id to mutes. Add !mutes command to list mutes. Dragory 2018-08-05 00:18:50 +03:00
  • 60c434999e Add !guild_reload to reload the current guild's config and plugins Dragory 2018-08-03 19:26:54 +03:00
  • 1b151fff24 Use fancier typings in ReactionRolesPlugin Dragory 2018-08-03 19:26:27 +03:00
  • 32856329b5 Don't crash when sending a log message that is too long Dragory 2018-08-03 19:26:06 +03:00
  • be1c327093 Don't crash on Discord HTTP errors Dragory 2018-08-03 19:25:00 +03:00
  • e585f63bec fix(censor): handle unknown invites gracefully Dragory 2018-08-03 19:24:40 +03:00
  • aee14eac10 Merge branch 'master' of github.com:Dragory/ZeppelinBot Dragory 2018-08-03 19:12:21 +03:00
  • 01a1f4cbe3
    fix(spam): recent actions being considered from all users, not just the author of the message being evaluated Miikka 2018-08-03 11:23:08 +03:00
  • 395ed8b58d Add zalgo filter in Censor plugin Dragory 2018-08-02 22:24:54 +03:00
  • b3492090b8 Add default mod override for Spam plugin Dragory 2018-08-02 22:22:51 +03:00
  • 96a9a189e0 fix(spam): mute time being treated as seconds instead of minutes Dragory 2018-08-02 17:53:50 +03:00
  • 57184853b2 Change voice activity log format Dragory 2018-08-02 17:53:29 +03:00
  • 2e7d51ca31 fix: more db timezone issues Dragory 2018-08-02 17:53:03 +03:00
  • 2520fac7d6 Allow browsing !search result pages Dragory 2018-08-02 04:00:42 +03:00
  • e2261cd758 Crash on errors after all Dragory 2018-08-02 03:46:29 +03:00
  • ebd25b13c2 Don't ask Dragory 2018-08-02 03:03:59 +03:00
  • 9769e38f17 Add optional 'expanded' param to !cases Dragory 2018-08-02 03:01:22 +03:00
  • 2aaacef2c3 Roll back and lock knex to 0.12.6 Dragory 2018-08-02 02:51:33 +03:00
  • 93c512c402 Cap !cases reason previews to 80-ish characters Dragory 2018-08-02 02:46:57 +03:00
  • 27d525c155 Add some safeguards against messages without an author Dragory 2018-08-02 02:28:52 +03:00
  • c4523ddc32 Don't crash on error; just console.error it Dragory 2018-08-02 01:19:20 +03:00
  • 1ef88b61f7 Add colours for new case types, and tweak the old colours Dragory 2018-08-02 01:15:05 +03:00
  • b5b71bcf04 Fix snowflakes being rounded when querying the database Dragory 2018-08-02 00:58:21 +03:00
  • d55bf80158 Update MESSAGE_EDIT default format to be clearer Dragory 2018-08-02 00:55:02 +03:00
  • a0f5114f62 Add softban command. Mod action fixes and tweaks. Dragory 2018-08-02 00:51:25 +03:00