3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-05-21 08:45:03 +00:00
Commit graph

67 commits

Author SHA1 Message Date
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
Dark
5b49f5413c Allow hidecase, unhidecase and deletecase to take multiple case numbers 2020-10-12 14:49:50 +02:00
Dragory
d0fe2dea04 Update to new Knub 30 beta. Code clean-up. 2020-10-01 01:43:38 +03:00
Dragory
ba9c5db9ef Fix error in mod actions alert_on_rejoin 2020-08-28 22:57:11 +03:00
Dragory
da9f74347e Fix error with unknown mod_actions alert_channel 2020-08-21 03:51:03 +03:00
Dragory
6ba56a3f12 Add time_and_date plugin. Use it for timezones and date formats around the bot. 2020-08-19 00:19:12 +03:00
Dragory
84fb5db0db Sort moderator !cases consistently with user !cases 2020-08-11 04:17:51 +03:00
Dragory
c5bb652a4c Use server timezone and date formats in case summaries. Link to cases in case log channel from case summaries. 2020-08-10 03:18:34 +03:00
Dragory
8bd1572e2a Add support for server-specific timezone and date format settings 2020-08-10 00:24:06 +03:00
Dragory
4c9b5778b2 Add !deletecase 2020-08-09 22:44:46 +03:00
Dragory
2737b843ca resolveUser: return null if the passed value is not a valid id 2020-08-09 20:10:03 +03:00
Dragory
e6d7bb15eb Don't send null/undefined as audit log reasons 2020-08-05 02:54:02 +03:00
Dragory
c2ca3d605f Add kick reason to audit log when using !kick 2020-08-05 02:52:45 +03:00