Commit graph

77 commits

Author SHA1 Message Date
Dragory
c7751a9da1
Centralize periodic checks for mutes, tempbans, vcalerts, reminders, and scheduled posts
This should result in a significant performance improvement.
The new method is also more precise than the old one, allowing
the aforementioned checks to be performed with second-precision.
2021-09-25 21:34:07 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier 2021-09-11 19:06:51 +03:00
Dragory
59e75e0584
Type fixes + circular dependency fix 2021-08-18 20:01:06 +03:00
Dragory
bed6589d48
Typed log functions + more 2021-08-18 01:51:42 +03:00
almeidx
3537305c59
upgrade discord.js 2021-08-04 20:45:42 +01:00
almeidx
afe0ec1194
removed unnecessary string literal and simplified stuff 2021-07-29 10:08:55 +01:00
almeidx
74a676913e
user.tag 2021-07-29 00:37:19 +01:00
almeidx
ca30dd204e
removed unnecessary encodeURIComponent on reasons 2021-07-28 23:50:25 +01:00
almeidx
f9e1343003
use User#displayAvatarURL and dont encode reason 2021-07-28 23:40:20 +01:00
Dark
c932269b7d
DJS Update, Full Import Cleanup 2021-07-25 14:32:08 +02:00
Dark
acb4913495
More fixes, change rest of stripObjectToScalars to configAccessibleObj 2021-07-21 22:14:09 +02:00
Dark
be71357ff9
Upgrade DJS, fix bugs 2021-06-30 18:43:42 +02:00
Dark
0822fc15e5
Type fixes for djs 2021-06-30 04:56:56 +02:00
Dark
5efdf5ce95
Formatting and initial ButtonRoles DB work 2021-06-08 02:23:30 +02:00
Dark
6ac9d2f2a2
Organise all imports, make Mutes depend on Logs 2021-06-06 23:51:32 +02:00
Dark
d0c6e6f411
More fixes, waitForInteraction (replacement for waitForReaction) 2021-06-02 23:41:05 +02:00
Dark
edcfd2333f
Bot now connects, lint fixes 2021-06-02 19:35:44 +02:00
Dark
d0a1beb809
Finish preliminary rework, ready to test 2021-06-02 04:07:50 +02:00
Dark
52839cc9f3
More rework progress, remove all eris imports 2021-06-01 02:05:55 +02:00
Dragory
f6be4f4af6
Update to Knub30.0.0-beta.37 and Eris 0.15, first pass 2021-05-23 14:35:16 +03:00
Dragory
64d6bb81fe
Round time values in !massban 2021-05-22 15:01:08 +03:00
Dragory
b4fb6de86e
Show max wait time for massban queue in !massban 2021-05-22 13:58:19 +03:00
Dragory
c30c9f6224
Add queue for massbans 2021-05-22 13:47:10 +03:00
Dragory
772d13fd94
Add total time taken to !massban result message 2021-05-22 13:32:27 +03:00
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