Commit graph

53 commits

Author SHA1 Message Date
Dragory
b6915671ca
Add progress indicator to !massban. Tweak log/event ignoring to be more reliable for massbans. 2021-05-22 13:27:45 +03:00
Almeida
a4a7eb41b0
refactor(*): remove unused exception variables (#193) 2021-05-06 21:23:47 +03:00
Almeida
fb4f70a29c
added can_unban permission for the unban command (#200) 2021-05-06 21:13:06 +03:00
Dragory
72459e1d93
Emit 'unban' event from !unban 2021-04-29 02:22:39 +03:00
Nils
13f75c9b54
Allow filtering !cases to certain types using switches (#168) 2021-04-28 22:51:09 +03:00
Nils
903a2369c8
Allow automod to issue tempbans (#189) 2021-04-28 22:42:54 +03:00
Nils
20b1c869cd
Add -update/-up argument to automatically update latest/chosen case with !clean (#173) 2021-04-28 22:15:16 +03:00
Shoaib Sajid
dfc1bf2ba0
Add !infractions as an alias for !cases (#177) 2021-04-28 22:08:37 +03:00
Nils
51db942d97
Allow Automod to distinguish whether mod actions are manual or automatic (#179) 2021-04-28 22:06:33 +03:00
Dragory
c7c1b1f96f
!ban: only run isBanned() if member is not found 2021-04-28 21:24:59 +03:00
Nils
56ade239dc
Allow mute and unmute to be upgraded to their force variant (#174) 2021-04-02 16:53:09 +03:00
vcokltfre
2af168b8e3
chore: update wording of permission error for -mod (#172) 2021-04-02 16:43:52 +03:00
Nils
c5d68650a3
Enforce unified lock names by using functions to generate lock keys (#165) 2021-04-02 16:43:13 +03:00
Jonathan
fb4979ff00
Add !reason alias for !update (#141) 2021-04-02 16:38:24 +03:00
Dragory
93912541b4
automod: add triggers for mod actions 2021-02-14 16:58:02 +02:00
Nils
f46b2e43a9
Add working massunban command (#143) 2021-01-28 01:23:35 +02:00
Nils
a7e01ae4e5
Add tempbans (#139) 2021-01-28 01:20:55 +02:00
Nils
d4d89327fd
Fixed note command not allowing only attachments (#144) 2021-01-17 21:30:59 +02:00
Dragory
edaeb7ef0e
Add proper types to sendErrorMessage() 2021-01-17 21:21:18 +02:00
Dragory
3def728ab5
Improve permission level error in !ban 2020-12-22 22:13:08 +02:00
Dragory
fec2b49129
Improve !ban error messages 2020-12-22 22:10:41 +02:00
Dragory
b9dde47a9e
Fix several locations that expected resolveUser() to return null 2020-12-17 04:12:49 +02:00
Dragory
d35564eac8
Fix crash from invalid user id in !addcase 2020-12-17 04:10:36 +02:00
Dragory
5056b4376a
Add pagination to !cases -mod 2020-12-15 15:18:08 +02:00
Dragory
f93a7014a9
Fix !cases -mod giving an error about unknown member 2020-12-15 14:47:17 +02:00
Jonathan
c38bb99e93
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
5e636b485a Allow ban to be upgraded to forceban if the member is not on the server 2020-11-20 02:31:31 +01:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly. 2020-11-09 20:03:57 +02:00
Dragory
5ff79a9f58
Merge branch 'master' of github.com:Dragory/ZeppelinBot 2020-10-20 17:48:01 +03:00
Dragory
285cd2bcd8
Fix warn notification sometimes triggering on the bot's own reaction 2020-10-20 17:47:49 +03:00
Miikka
1c8d89b0ec
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
eee1c6d789
mod_actions: fix possible embed size overflow in user !cases 2020-10-13 19:26:16 +03:00
Dark
52ee007770 Allow hidecase, unhidecase and deletecase to take multiple case numbers 2020-10-12 14:49:50 +02:00
Dragory
2f470dc37a
Update to new Knub 30 beta. Code clean-up. 2020-10-01 01:43:38 +03:00
Dragory
4ae8cf85a3
Add time_and_date plugin. Use it for timezones and date formats around the bot. 2020-08-19 00:19:12 +03:00
Dragory
ad78574959
Sort moderator !cases consistently with user !cases 2020-08-11 04:17:51 +03:00
Dragory
eb203a3b7a
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
c67a1df11d
Add support for server-specific timezone and date format settings 2020-08-10 00:24:06 +03:00
Dragory
ddbbc543c2
Add !deletecase 2020-08-09 22:44:46 +03:00
Dragory
a641312853
resolveUser: return null if the passed value is not a valid id 2020-08-09 20:10:03 +03:00
Dragory
ceb567ad9a
Don't send null/undefined as audit log reasons 2020-08-05 02:54:02 +03:00
Dragory
2077022299
Merge branch 'knub30' of git://github.com/almeidx/ZeppelinBot into almeidx-knub30 2020-08-05 02:45:54 +03:00
Miikka
ca0fe50806
Merge pull request #98 from DarkView/k30_massmute
Update Massmute to newest version... again
2020-08-05 02:40:36 +03:00
Dark
8600cc4195 Update Massmute to newest version... again 2020-08-04 15:27:12 +02:00
Dark
e131c77e20 Allow for caseNumber in Logs, showing the case number - repalce log evts 2020-08-02 02:30:01 +02:00
Dark
532041ad0d Fixed mistake that made REST calls we know will fail on forcemute/unmute 2020-07-31 19:31:36 +02:00
Dragory
b1f4967938
Fix !update without case number requiring text even with an attachment 2020-07-30 15:51:21 +03:00
Dragory
743a5e9ce4
Typo fix 2020-07-30 12:19:17 +03:00
Dark
94870ef85d Have forcemute not DM the user -> Consistency with Forceban 2020-07-29 01:04:17 +02:00
almeidx
ecc25bd2e3 fix: encode reason 2020-07-28 21:27:36 +01:00