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

79 commits

Author SHA1 Message Date
Dark
addb614023 Organise all imports, make Mutes depend on Logs 2021-06-06 23:51:32 +02:00
Dark
a07ca88c13 More fixes, waitForInteraction (replacement for waitForReaction) 2021-06-02 23:41:05 +02:00
Dark
1ee016e85e Bot now connects, lint fixes 2021-06-02 19:35:44 +02:00
Dark
c99e745f89 Finish preliminary rework, ready to test 2021-06-02 04:07:50 +02:00
Dark
3883b5b749 More rework progress, remove all eris imports 2021-06-01 02:05:55 +02:00
Dragory
8011885dc0 More initialization order fixes (vol 2) 2021-05-23 17:13:11 +03:00
Dragory
047174fbc4 Update to Knub30.0.0-beta.37 and Eris 0.15, first pass 2021-05-23 14:35:16 +03:00
Dragory
9e8629f337 Round time values in !massban 2021-05-22 15:01:08 +03:00
Dragory
157fc4c541 Show max wait time for massban queue in !massban 2021-05-22 13:58:19 +03:00
Dragory
bc6d8cea60 Add queue for massbans 2021-05-22 13:47:10 +03:00
Dragory
6ca231f40c Add total time taken to !massban result message 2021-05-22 13:32:27 +03:00
Dragory
fc6592d3f8 Add progress indicator to !massban. Tweak log/event ignoring to be more reliable for massbans. 2021-05-22 13:27:45 +03:00
Almeida
2a8aac34c7 refactor(*): remove unused exception variables (#193) 2021-05-06 21:23:47 +03:00
Almeida
22bb576b4b added can_unban permission for the unban command (#200) 2021-05-06 21:13:06 +03:00
Dragory
842c91b54d Add eager permission check in PostAlertOnMemberJoinEvt 2021-04-29 02:40:29 +03:00
Dragory
cb5454534a Emit 'unban' event from !unban 2021-04-29 02:22:39 +03:00
Nils
666e5f7448 Allow filtering !cases to certain types using switches (#168) 2021-04-28 22:51:09 +03:00
Nils
c2c3470994 Allow automod to issue tempbans (#189) 2021-04-28 22:42:54 +03:00
Nils
66cf2296dc Add -update/-up argument to automatically update latest/chosen case with !clean (#173) 2021-04-28 22:15:16 +03:00
Shoaib Sajid
01480d584e Add !infractions as an alias for !cases (#177) 2021-04-28 22:08:37 +03:00
Nils
abc9da0e68 Allow Automod to distinguish whether mod actions are manual or automatic (#179) 2021-04-28 22:06:33 +03:00
Dragory
0d872e5324 !ban: only run isBanned() if member is not found 2021-04-28 21:24:59 +03:00
Dragory
2386116c3c Optimize isBanned() and handle errors properly 2021-04-28 21:23:51 +03:00
Dragory
c20dd17722 Fix missing reason in log entries for manual kicks 2021-04-02 21:26:54 +03:00
Nils
a21e4fa0c3 Allow mute and unmute to be upgraded to their force variant (#174) 2021-04-02 16:53:09 +03:00
vcokltfre
50b37ab9dd chore: update wording of permission error for -mod (#172) 2021-04-02 16:43:52 +03:00
Nils
eb7ac72cd4 Enforce unified lock names by using functions to generate lock keys (#165) 2021-04-02 16:43:13 +03:00
Jonathan
0bb107bd9b Add !reason alias for !update (#141) 2021-04-02 16:38:24 +03:00
Dragory
30426960e7 automod: add triggers for mod actions 2021-02-14 16:58:02 +02:00
Nils
a30ec3c711 Add working massunban command (#143) 2021-01-28 01:23:35 +02:00
Nils
0bfb73e258 Add tempbans (#139) 2021-01-28 01:20:55 +02:00
Nils
c655f61a67 Fixed note command not allowing only attachments (#144) 2021-01-17 21:30:59 +02:00
Dragory
621c8584fd Add proper types to sendErrorMessage() 2021-01-17 21:21:18 +02:00
Dragory
88576281fb Fix members leaving being logged as kicks 2020-12-23 06:00:45 +02:00
Dragory
adbd2fb6e2 mod_actions: add create_cases_for_manual_actions option
This can also be used with a user override.
The override user is the audit log entry's author, i.e. the user who
did the kick/ban/unban.
2020-12-23 04:44:46 +02:00
Dragory
52c5d584a6 Improve permission level error in !ban 2020-12-22 22:13:08 +02:00
Dragory
2b3c346190 Improve !ban error messages 2020-12-22 22:10:41 +02:00
Dragory
28f37c3bc3 Fix logic error in case creation for manual kicks 2020-12-19 02:59:41 +02:00
Dragory
6872539d4d Fix several locations that expected resolveUser() to return null 2020-12-17 04:12:49 +02:00
Dragory
127ef260f1 Fix crash from invalid user id in !addcase 2020-12-17 04:10:36 +02:00
Dragory
687bffa3f4 Add pagination to !cases -mod 2020-12-15 15:18:08 +02:00
Dragory
fb2c5abb02 Fix !cases -mod giving an error about unknown member 2020-12-15 14:47:17 +02:00
Nils
87b2798a96 Add moderator variable to mod action templates (#119) 2020-12-12 22:29:08 +02:00
Jonathan
e3d064f2b8 Add !modlogs as an alias to !cases (#128)
Co-authored-by: Jonathan <54381371+chislxyz@users.noreply.github.com>
2020-12-12 22:22:31 +02:00
Dark
282cbaef60 Allow ban to be upgraded to forceban if the member is not on the server 2020-11-20 02:31:31 +01:00
Dragory
6f2d5a3784 Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
c68963f31d Merge branch 'master' of github.com:Dragory/ZeppelinBot 2020-10-20 17:48:01 +03:00
Dragory
122ea3e89c Fix warn notification sometimes triggering on the bot's own reaction 2020-10-20 17:47:49 +03:00
Miikka
8576def39e Merge pull request #120 from DarkView/fr_massCaseModifications
Allow hidecase, unhidecase and deletecase to take multiple case numbers
2020-10-18 17:32:19 +03:00
Dragory
3d994e1aea mod_actions: fix possible embed size overflow in user !cases 2020-10-13 19:26:16 +03:00