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
metal
60515ad788
Update invite detection regex ( #259 )
2021-09-04 19:36:15 +03:00
Dragory
ddfdcdccd3
Don't crash on ZodError from validateAndParseMessageContent()
2021-08-20 22:38:53 +03:00
Dark
84ff17fd9b
Fix "invalid role id" in addrole command
2021-08-19 19:08:46 +02:00
Dragory
5852adadad
Hotfix 20
2021-08-19 19:59:25 +03:00
Dragory
2e49319e9c
Automod reply action embed fix
2021-08-19 19:54:02 +03:00
Dragory
81514276e9
Fix issues around embeds
2021-08-19 19:33:47 +03:00
Dragory
30f184897f
Re-enable audit log checks
2021-08-18 23:21:00 +03:00
Dragory
9713e2c99b
Code clean-up
2021-08-18 23:03:19 +03:00
Dragory
1df2e18fef
Hotfix 3
2021-08-18 22:15:56 +03:00
Dragory
0e7cf9715f
Thread fixes
2021-08-18 20:47:24 +03:00
Dragory
bed6589d48
Typed log functions + more
2021-08-18 01:51:42 +03:00
Dragory
fa18c234d6
Fixes to Invite types/type guard functions
2021-08-14 14:41:34 +03:00
almeidx
3537305c59
upgrade discord.js
2021-08-04 20:45:42 +01:00
almeidx
5de35f711d
use Util methods for escaping inline code and code blocks
2021-07-29 17:35:27 +01:00
almeidx
5fad488a63
changes to serverinfo and fixes in utils
2021-07-29 17:18:49 +01:00
Nils
392e7fc56e
Merge pull request #3 from almeidx/smol-refactor
...
Smol refactor
2021-07-29 03:03:38 +02:00
almeidx
74a676913e
user.tag
2021-07-29 00:37:19 +01:00
Dark
3886d2d1dd
Include Sticker and Emoji events in Logs
2021-07-29 01:02:29 +02: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
d2dd103175
Start move to configAccessibleObjects, exclude perm overrides from logs
...
configAccessibleObjects are used to guarantee backwards compatibility and consistency.
Perm overrides from our own plugins are ignored as to not spam logs through bot managed slowmode or companion channels
2021-07-06 05:23:47 +02:00
Dark
968889e529
Add missing logtypes, add change visualization
2021-07-01 04:40:39 +02:00
Dark
1ad70ffe1a
Change DiscordRESTError to DiscordAPIError
2021-06-30 23:06:02 +02:00
Dark
0822fc15e5
Type fixes for djs
2021-06-30 04:56:56 +02:00
Dark
7bf5e1f3c6
misc. bugfixes
2021-06-21 01:36:53 +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
9fc045cd38
Start move to d.js
2021-05-31 03:30:55 +02:00
Nils
459020eab7
Allow target user to be mentioned in channels ( #215 )
2021-05-12 02:32:29 +03:00
Almeida
a4a7eb41b0
refactor(*): remove unused exception variables ( #193 )
2021-05-06 21:23:47 +03:00
Dragory
a568e86d78
Add commands to list and reset counters
2021-05-03 19:33:30 +03:00
Dragory
49577e37ca
Improve invite detection
...
Only a-z, 0-9, and - are now considered valid invite code characters.
Fix some unnecessary case sensitivity in the invite regexes.
2021-05-03 18:34:50 +03:00
Dragory
f2cf46e734
Add tAllowedMentions
...
Mirrors AllowedMentions type from Eris
2021-04-29 00:49:37 +03:00
Dragory
7e40308a8a
Add tNormalizedNullOrUndefined and tNormalizedNullOptional
...
tNormalizedNullOrUndefined:
io-ts type that accepts null and undefined and normalizes both to
undefined
tNormalizedNullOptional:
io-ts type that accepts the specified type or null/undefined.
if null/undefined, the value is normalized to undefined.
this allows creating optional config options that can be "removed" by
setting their value to null.
2021-04-29 00:46:24 +03:00
Dragory
4410f20562
Improve invite detection
...
Several less common patterns are now detected:
discord.gg/anything/here/<code>
discord.com/invite/<code>/anything/here
discordapp.com/invite/<code>/anything/here
Potential invite URLs are also parsed as URLs to clean out any
shenanigans related to valid-but-uncommon URL formats.
2021-04-28 21:12:23 +03:00
Dragory
1d0f7636c2
verboseChannelMention: don't use # for voice channels
2021-04-10 23:42:24 +03:00
Dragory
53b64682ee
Update to eris#dev
2021-04-02 19:02:20 +03:00
Nils
4584fa4e87
Add newline after ``` so single words dont get seen as language ( #152 )
2021-02-13 19:57:48 +02:00
Nils
f762a238de
Disable mentions in logs, allowing mods to be mentioned ( #142 )
...
Optionally you can return to old behavior by setting allow_user_mentions to true
2021-01-28 01:26:24 +02:00
Dragory
ac7935e24d
Fix muteUser() sometimes operating on stale member info
2020-12-17 03:50:02 +02:00
Dragory
4a555823fc
Fix resolveUser() returning null in contrast to its typings
2020-12-17 03:46:52 +02:00
Dragory
629002b8d9
Turn on strict TS compilation. Fix up and tweak types accordingly.
2020-11-09 20:03:57 +02:00
Dragory
dbcd5e7de2
Cap delay strings to 100 years
...
This is to avoid issues with max date values and other similar edge
cases. This was an issue when accidentally passing a user ID as the
time value for e.g. reminders.
2020-10-13 19:45:41 +03:00
Dragory
fde796782e
Fix crash in ReactionRoles emoji validation
2020-10-11 14:17:41 +03:00
Dragory
9dbf80ce58
Extra fix
2020-09-23 20:23:19 +03:00