Commit graph

  • fffb791a2e Merge branch 'master' of github.com:Dragory/ZeppelinBot Dragory 2019-05-02 17:47:30 +03:00
  • f4a545c94d Fix api error check when applying slowmode Dragory 2019-05-02 17:47:18 +03:00
  • 017d721792 Temporarily load all users on start again Dragory 2019-05-02 17:46:04 +03:00
  • 6a3d5a6ed0
    Fix lots of undefined user mentions in logs Miikka 2019-05-02 10:33:49 +03:00
  • baaaded545
    Add some debug logging Miikka 2019-05-02 10:30:31 +03:00
  • 5e8d098661 Temp fix for AFK channel move on mute Dragory 2019-05-02 08:51:48 +03:00
  • 43939021ff Don't fetch members on demand in logs only to check the 'ping_user' config value Dragory 2019-05-02 08:48:13 +03:00
  • 4338bcd839 Add debug logging for failed slowmodes due to permissions Dragory 2019-05-02 08:47:44 +03:00
  • 2d0f4ead20 Remove deprecated expand/hidden opts from !cases, use --expand/--hidden instead Dragory 2019-05-02 08:28:49 +03:00
  • e259574bcc Hotfix Dragory 2019-05-02 08:25:14 +03:00
  • e7223cde08 Merge branch 'master' of github.com:Dragory/ZeppelinBot Dragory 2019-05-02 08:22:54 +03:00
  • bef5f75c87 Add some extra logging for failed role removals on unmute Dragory 2019-05-02 08:22:39 +03:00
  • 1e2b68119c Fix member fetching in a few places Dragory 2019-05-02 08:21:11 +03:00
  • 78790627ad spam: fix failing auto-mute + invalid logs Dragory 2019-05-02 08:14:17 +03:00
  • 69988d7ba5
    Ignore video embed descriptions in word filter Miikka 2019-04-30 10:50:38 +03:00
  • 301959f8fc Handle reaction roles for an unknown message gracefully Dragory 2019-04-30 06:58:38 +03:00
  • 32782d0bfa Ignore embed thumbnail/image width/height updates in edit logs Dragory 2019-04-30 06:56:02 +03:00
  • 5b6941a1f6 Allow using !remind without a reminder text (the bot uses a message link then instead) Dragory 2019-04-30 06:28:10 +03:00
  • d31de8db11 Fix unknown users in logs in several places Dragory 2019-04-30 06:20:55 +03:00
  • e5092c98fa Tags: return an empty string for invalid inputs to mention() Dragory 2019-04-30 06:10:36 +03:00
  • 7de57cc814 Also log self-deletions from the bot user Dragory 2019-04-30 06:08:47 +03:00
  • 081c7d0ac3 Standardize how message summaries are generated in logs Dragory 2019-04-30 06:07:48 +03:00
  • 65dfa27eaf Also apply censor filters to embeds and attachments Dragory 2019-04-30 06:05:53 +03:00
  • 3739433425 When using !search or !roles, refresh cached guild members periodically Dragory 2019-04-30 05:42:01 +03:00
  • 6b0345d1f0 Show message source/data in !source Dragory 2019-04-30 05:35:38 +03:00
  • 70591eec3b Show rich embeds in message deletions logs Dragory 2019-04-30 05:35:19 +03:00
  • 2824c6a991 Show embed edits properly in logs; show bot self-edits in logs Dragory 2019-04-30 05:34:29 +03:00
  • 97e78e37ca Split codeblocks properly in chunkMessageLines Dragory 2019-04-30 05:32:50 +03:00
  • f28f2c13d4 Include base plugins in !about, show total number Dragory 2019-04-23 06:05:39 +03:00
  • 7cf32d0316 Add shard latency to !ping Dragory 2019-04-23 05:59:46 +03:00
  • 50c3c92c01 Add sort options to !roles Dragory 2019-04-23 05:59:29 +03:00
  • a5f34d6e9a Add !about command Dragory 2019-04-23 05:58:50 +03:00
  • 3b340a92c1 Log in console when we crash due to too many recent errors Dragory 2019-04-23 05:38:48 +03:00
  • 64dd1fc9e0 Tolerate some Discord API errors before crashing Dragory 2019-04-23 05:29:53 +03:00
  • 0742c19cbb Fix occasional error when resolving a user by username Dragory 2019-04-23 05:28:50 +03:00
  • 706ccb4fce Fix bans failing when fetching members on-demand Dragory 2019-04-21 18:57:32 +03:00
  • 38b11775e5 Support excluding users from being logged Dragory 2019-04-21 18:11:49 +03:00
  • f45e745d54 Fix occasional error when unknown roles are added or removed Dragory 2019-04-21 15:18:07 +03:00
  • ff8e7c6afc Update Eris Dragory 2019-04-20 21:02:09 +03:00
  • 85676aab07 Sanitize values in errors thrown in resolvedUser, resolvedUserLoose, and resolvedMember custom argument types Dragory 2019-04-20 20:43:47 +03:00
  • c38c2cc904 Fix case preview in !cases when two or more of the first case notes have the same timestamp Dragory 2019-04-20 20:15:31 +03:00
  • 9f7f87dc77 Fix some argument type names Dragory 2019-04-20 19:55:35 +03:00
  • 51a77b0082 Don't load all members on startup Dragory 2019-04-20 19:54:55 +03:00
  • d30fbbbbaa Do saved message clean-up globally, not per-guild Dragory 2019-04-20 19:51:26 +03:00
  • d7079df83d Make !slowmode 0 an alias for !slowmode disable Dragory 2019-04-20 19:33:39 +03:00
  • 3700a2a4c5 In !cases, use the username from the latest case if the user is not found Dragory 2019-04-20 19:32:20 +03:00
  • f6e487d073 Reduce retention period of saved messages from 1 week to 5 days Dragory 2019-04-20 19:24:28 +03:00
  • 7b00dc8498 Simplify import in Utility.ts Dragory 2019-04-20 19:23:11 +03:00
  • 6b3dc42747 Support attachments in !update Dragory 2019-04-20 19:20:35 +03:00
  • cbc4f1bfdc When adding archive links to a case, make them all permanent, not just the first one Dragory 2019-04-20 19:13:40 +03:00
  • b8077e59a4 Fix user's name not appearing in MEMBER_TIMED_UNMUTE log messages Dragory 2019-04-20 19:09:24 +03:00
  • 815b6ce4ac Fix resolvedUser and resolvedUserLoose types Dragory 2019-04-20 19:05:48 +03:00
  • ab83e83d42 Add custom argument types for deep-resolved users/members, use these in some places. Deprecate unknownUser (constant) and replace with instances of UnknownUser (class). Dragory 2019-04-20 19:03:30 +03:00
  • 2d690da92b Update Knub to 20.0.0 Dragory 2019-04-20 19:02:06 +03:00
  • 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. Dragory 2019-04-20 17:36:28 +03:00
  • 89ce0555a7 Fix error when fetching unknown user Dragory 2019-04-19 20:05:20 +03:00
  • 88ed1d9313 Fix spam detection crash if a spam message is deleted before the spam filter applies Dragory 2019-04-19 12:26:17 +03:00
  • ee20363dd8 Fix user mentions not working for mod actions. Allow using plain username to target users with mod actions. Make error messages more consistent. Dragory 2019-04-19 12:25:25 +03:00
  • b76f87bbef Merge branch 'master' of github.com:Dragory/ZeppelinBot Dragory 2019-04-18 08:46:03 +03:00
  • f3e6c05c67 Work on better error messages for mod actions, allow muting users that are not on the server; WIP Dragory 2019-04-18 08:45:51 +03:00
  • 74cce3d093
    templateFormatter: fix unknown values showing up as "false" Miikka 2019-04-17 09:43:27 +03:00
  • 24e16078ec
    Fix bot-maintained slowmodes not being applied Miikka 2019-04-15 14:11:58 +03:00
  • 160c31baf7
    Fix slowmodes longer than 6h Miikka 2019-04-15 14:01:49 +03:00
  • 3643c319d4 Fix error when parsing a spam plugin mute time that is of type number Dragory 2019-04-14 20:11:31 +03:00
  • f5de7db971 Add safety net for unknown roles in guildMemberUpdate Dragory 2019-04-14 17:05:58 +03:00
  • c34532e348 Add safety net for attempts to create a duplicate case for a single kick audit log entry Dragory 2019-04-14 17:05:07 +03:00
  • dd7ae1d4b8 Include user notification result in warn/kick/ban cases Dragory 2019-04-14 17:03:29 +03:00
  • 1ead037b8a Allow overriding default unit for delay strings; use seconds by default for slowmodes Dragory 2019-04-14 14:05:16 +03:00
  • 7cc4687e87 Update husky & lint-staged, tweak their scripts Dragory 2019-04-14 13:37:29 +03:00
  • 3226aec0bf Clear lint-staged test Dragory 2019-04-14 13:36:03 +03:00
  • 2481a476b5 lint-staged test 2 Dragory 2019-04-14 13:35:25 +03:00
  • f3178e7d27 lint-staged test Dragory 2019-04-14 13:34:23 +03:00
  • 7f0833f699 Some fixes and cleanup Dragory 2019-04-14 13:30:48 +03:00
  • 338855de15 Fix error when creating a case with no noteDetails Dragory 2019-04-14 13:26:55 +03:00
  • 434758b8ad Fix right click bans causing logs with the banned user's username missing Dragory 2019-04-14 13:26:29 +03:00
  • fe88766f02 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. Dragory 2019-04-13 17:35:02 +03:00
  • 40cb74ee28 evaluateTemplateVariable: require property to be a direct/own property of 'values', not from its prototype Dragory 2019-04-13 04:11:24 +03:00
  • f76dd3ed62 Deprecate !cases expand/hidden in favor of options --expand/--hidden (-e/-h) Dragory 2019-04-13 04:01:37 +03:00
  • 9785e9fb89 Add !help Dragory 2019-04-13 03:54:36 +03:00
  • 05dfff7d37 Update Knub to 19.3.0 Dragory 2019-04-13 03:43:17 +03:00
  • 6216989b90 Clean up !update code Dragory 2019-04-13 03:31:50 +03:00
  • f4544f5452 Deprecate !updatecase alias for !update Dragory 2019-04-13 03:28:38 +03:00
  • 5ce3e496c3 Fix some invalid permission checks Dragory 2019-04-13 03:27:29 +03:00
  • fbcf5d7cb8 search: add --case-sensitive/--cs flag; show nicknames in the results Dragory 2019-04-13 03:24:02 +03:00
  • fdd9bd93c5 mute list: show whether the user has left the server or been banned; allow filtering by whether the user has left with --left Dragory 2019-04-13 03:17:09 +03:00
  • 05bf5b4f25 Allow filtering !mutes with --age Dragory 2019-04-13 02:39:36 +03:00
  • 838448153b Support weeks (w) in delays (mutes, reminders, etc.) Dragory 2019-04-13 02:35:53 +03:00
  • 5eeb3d2536 Add timestamps to !cases Dragory 2019-04-13 02:27:52 +03:00
  • 503f1ff170 Use command aliases/overloads where applicable Dragory 2019-04-13 02:23:45 +03:00
  • ad10a79b6c Add !s as an alias for !search Dragory 2019-04-13 02:23:22 +03:00
  • d79af59863 Update to Knub 19.2.0 Dragory 2019-04-13 02:22:45 +03:00
  • d77105c831 Slowmode: support native slowmode up to 6h Dragory 2019-04-13 01:56:11 +03:00
  • 50f5792bc5 Update to Knub 19.1.1 and update plugins accordingly Dragory 2019-04-13 01:44:18 +03:00
  • 18e321f5bb Fix type error Dragory 2019-04-05 20:06:29 +03:00
  • 8e2808d42c Fix quotation marks in !mute and !unmute arguments Dragory 2019-04-05 20:05:37 +03:00
  • 6e1ef12bce Update Knub to 18.2.0 Dragory 2019-04-05 19:59:01 +03:00
  • bab82559dc Update Knub to 18.1.0, js-yaml to 3.13.1 Dragory 2019-04-05 19:31:21 +03:00
  • b9b4e2e9ed Starboard: use locks for checking reactions to avoid race conditions Dragory 2019-03-31 22:35:54 +03:00
  • dad7717688 ModActions: allow 'e' as an alias for 'expand' in !cases Dragory 2019-03-20 00:35:46 +02:00
  • cb7904ef81 Utility: add voice information to !info, tweak embed styles a bit Dragory 2019-03-20 00:34:41 +02:00