Dark
de85ba37b9
More fixes, change rest of stripObjectToScalars to configAccessibleObj
2021-07-21 22:14:09 +02:00
Dark
d24aea7c5c
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
bf0886406d
Add missing logtypes, add change visualization
2021-07-01 04:40:39 +02:00
Dark
6e2bd28691
Change DiscordRESTError to DiscordAPIError
2021-06-30 23:06:02 +02:00
Dark
2977363dc0
Type fixes for djs
2021-06-30 04:56:56 +02:00
Dark
fb7e926a27
misc. bugfixes
2021-06-21 01:36:53 +02:00
Dark
38a5e07be8
Formatting and initial ButtonRoles DB work
2021-06-08 02:23:30 +02:00
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
9509be5e65
Start move to d.js
2021-05-31 03:30:55 +02:00
Nils
ea96ab7853
Allow target user to be mentioned in channels ( #215 )
2021-05-12 02:32:29 +03:00
Almeida
2a8aac34c7
refactor(*): remove unused exception variables ( #193 )
2021-05-06 21:23:47 +03:00
Dragory
2c732d970f
Add commands to list and reset counters
2021-05-03 19:33:30 +03:00
Dragory
1f134bf66b
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
39a3944b8c
Add tAllowedMentions
...
Mirrors AllowedMentions type from Eris
2021-04-29 00:49:37 +03:00
Dragory
40acab8868
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
b09e7943b3
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
d7901da409
verboseChannelMention: don't use # for voice channels
2021-04-10 23:42:24 +03:00
Dragory
f8c3e85c55
Update to eris#dev
2021-04-02 19:02:20 +03:00
Nils
9724000795
Add newline after ``` so single words dont get seen as language ( #152 )
2021-02-13 19:57:48 +02:00
Nils
f4a87e445a
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
00d1cccebe
Fix muteUser() sometimes operating on stale member info
2020-12-17 03:50:02 +02:00
Dragory
d7da90f409
Fix resolveUser() returning null in contrast to its typings
2020-12-17 03:46:52 +02:00
Dragory
6f2d5a3784
Turn on strict TS compilation. Fix up and tweak types accordingly.
2020-11-09 20:03:57 +02:00
Dragory
b4bed82a30
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
bbc1420011
Fix crash in ReactionRoles emoji validation
2020-10-11 14:17:41 +03:00
Dragory
9be7208fed
Extra fix
2020-09-23 20:23:19 +03:00
Dragory
1661b419e5
Fix
2020-09-23 20:19:21 +03:00
Dragory
156e886689
Fix dash not being matched in invite codes
2020-08-27 23:11:39 +03:00
Dragory
b6e99f6c02
Centralize DM logic, don't attempt DMs for an hour after a 20026 error
2020-08-21 03:44:38 +03:00
Dragory
53ce975b7f
DM debug
2020-08-20 10:15:17 +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
425f6e6674
Add case icons. Clean up !cases. Allow customizing case colors and icons.
2020-08-11 04:16:06 +03:00
Dragory
3a27eb64a9
Ignore request timeouts when getting audit logs
2020-08-11 02:44:54 +03:00
Dragory
8bd1572e2a
Add support for server-specific timezone and date format settings
2020-08-10 00:24:06 +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
df295dc1b8
Add !slowmode command
2020-08-09 17:28:21 +03:00
Dragory
a95f7bd96e
Add !message/!messageinfo command
2020-08-06 00:46:47 +03:00
Dragory
f497268aa5
Work on !invite styles
2020-08-05 20:18:30 +03:00
Dragory
67337a8abb
Add !invite utility command
2020-08-05 18:52:15 +03:00
Dragory
959e68886b
Improve audit log error handling, show BOT_ALERT in more cases
2020-08-05 02:25:13 +03:00
Dragory
1e44f811fc
ZeppelinPluginBlueprint.configSchema is now required. Validate deep partial config schema before running config preprocessor.
2020-07-30 20:10:50 +03:00
Dragory
208eb0822c
Port BotControl
2020-07-30 03:21:07 +03:00
Dragory
8cbd7ff46d
automod: ensure actions only apply once per user/member
2020-07-29 22:58:14 +03:00
Dragory
ba9423deb5
Fix case embeds breaking with notes over 1024 chars in length
2020-07-29 22:48:49 +03:00
Dragory
00f27b930e
Automod actions + ModActions public interface
2020-07-28 21:34:01 +03:00
Dragory
7113d3953e
Automod work vol 2
2020-07-27 21:51:03 +03:00
Dragory
0c9a619880
Add custom logger. Fix a bunch of errors. Optimize imports.
2020-07-22 22:56:21 +03:00