Tiago R
06877e90cc
Update djs & knub ( #395 )
...
* update pkgs
Signed-off-by: GitHub <noreply@github.com>
* new knub typings
Signed-off-by: GitHub <noreply@github.com>
* more pkg updates
Signed-off-by: GitHub <noreply@github.com>
* more fixes
Signed-off-by: GitHub <noreply@github.com>
* channel typings
Signed-off-by: GitHub <noreply@github.com>
* more message utils typings fixes
Signed-off-by: GitHub <noreply@github.com>
* migrate permissions
Signed-off-by: GitHub <noreply@github.com>
* fix: InternalPoster webhookables
Signed-off-by: GitHub <noreply@github.com>
* djs typings: Attachment & Util
Signed-off-by: GitHub <noreply@github.com>
* more typings
Signed-off-by: GitHub <noreply@github.com>
* fix: rename permissionNames
Signed-off-by: GitHub <noreply@github.com>
* more fixes
Signed-off-by: GitHub <noreply@github.com>
* half the number of errors
* knub commands => messageCommands
Signed-off-by: GitHub <noreply@github.com>
* configPreprocessor => configParser
Signed-off-by: GitHub <noreply@github.com>
* fix channel.messages
Signed-off-by: GitHub <noreply@github.com>
* revert automod any typing
Signed-off-by: GitHub <noreply@github.com>
* more configParser typings
Signed-off-by: GitHub <noreply@github.com>
* revert
Signed-off-by: GitHub <noreply@github.com>
* remove knub type params
Signed-off-by: GitHub <noreply@github.com>
* fix more MessageEmbed / MessageOptions
Signed-off-by: GitHub <noreply@github.com>
* dumb commit for @almeidx to see why this is stupid
Signed-off-by: GitHub <noreply@github.com>
* temp disable custom_events
Signed-off-by: GitHub <noreply@github.com>
* more minor typings fixes - 23 err left
Signed-off-by: GitHub <noreply@github.com>
* update djs dep
* +debug build method (revert this)
Signed-off-by: GitHub <noreply@github.com>
* Revert "+debug build method (revert this)"
This reverts commit a80af1e729
.
* Redo +debug build (Revert this)
Signed-off-by: GitHub <noreply@github.com>
* uniform before/after Load shorthands
Signed-off-by: GitHub <noreply@github.com>
* remove unused imports & add prettier plugin
Signed-off-by: GitHub <noreply@github.com>
* env fixes for web platform hosting
Signed-off-by: GitHub <noreply@github.com>
* feat: knub v32-next; related fixes
* fix: allow legacy keys in change_perms action
* fix: request Message Content intent
* fix: use Knub's config validation logic in API
* fix(dashboard): fix error when there are no message and/or slash commands in a plugin
* fix(automod): start_thread action thread options
* fix(CustomEvents): message command types
* chore: remove unneeded type annotation
* feat: add forum channel icon; use thread icon for news threads
* chore: make tslint happy
* chore: fix formatting
---------
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: almeidx <almeidx@pm.me>
Co-authored-by: Dragory <2606411+Dragory@users.noreply.github.com>
2023-04-01 14:58:17 +03:00
Dragory
d472fd4fa6
fix(logs): fix inconsistent thread/channel/category exclusions; add excluded_threads log channel option
2022-08-13 23:19:06 +03:00
Dragory
b05fbe1d04
Update to discord.js v13.8.0, adding support for text-in-voice
2022-06-13 21:19:56 +03:00
Dragory
4179bc4ee1
feat: move log timestamp prepending to log message format; use native timestamps by default
2021-11-02 21:27:08 +02:00
Dragory
55a39e0758
feat: use webhooks for logs when possible
2021-11-02 19:59:42 +02:00
Dragory
f92ee9ba4f
fix: fix errors when unloading certain plugins after beforeLoad but before afterLoad
2021-10-31 16:48:32 +02:00
Dragory
8f17a835f9
refactor: debounce and batch simultaneous audit log requests
2021-10-27 00:09:29 +03:00
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
f733f081e0
Fix batched logs not being separated by newlines
2021-09-12 12:05:58 +03:00
Dragory
3e7313d40f
Fix error in onMessageDelete logs
2021-09-11 19:55:46 +03:00
Dragory
e6694f3751
Chunk text-only log messages. Use a cooldown if running into Missing Access / Missing Permissions error during logging.
2021-09-11 19:20:31 +03:00
Dragory
ac79eb09f5
Reformat all files with Prettier
2021-09-11 19:06:51 +03:00
Dragory
001b6d00ea
Batch embed logs. Always use log batching.
2021-09-11 18:57:06 +03:00
Dragory
82ca94e8c9
Limit which changed props are included in update logs
2021-09-05 23:46:40 +03:00
metal
2d777a03db
Logs - role change compare only role IDs instead of a collection ( #264 )
2021-09-04 19:15:16 +03:00
Dragory
3c8355babf
Fix logAutomodAction error if Automod context doesn't include a user
2021-08-21 01:41:42 +03:00
Dragory
05df81ddca
Fix being unable to !post to announcement channels or threads
2021-08-21 00:59:51 +03:00
Dark
d190957c7f
Check if VC actually changed
2021-08-20 19:01:47 +02:00
Dragory
81514276e9
Fix issues around embeds
2021-08-19 19:33:47 +03:00
Dragory
dc53de8ae3
Fix embed logs
2021-08-19 18:59:11 +03:00
Dragory
e2be447de5
Ignore empty emoji/sticker updates from logs
2021-08-19 18:34:52 +03:00
Dragory
854ce1862d
Fix error in log userMention()
2021-08-19 18:34:24 +03:00
Dragory
fd73da059a
Hotfix 18
2021-08-19 02:17:51 +03:00
Dragory
2b80297ff2
Hotfix 17
2021-08-19 02:17:16 +03:00
Dragory
b2dd432baf
Hotfix 16
2021-08-19 02:02:03 +03:00
Dragory
a7ec5c4808
++tweak
2021-08-19 01:59:07 +03:00
Dragory
101367a103
Remove audit log checks from member role changes
2021-08-18 23:25:26 +03:00
Dragory
78c2fdf4f0
Hotfix 2
2021-08-18 22:06:57 +03:00
Dragory
4c8523adf3
Hotfix
2021-08-18 22:04:32 +03:00
Dragory
d109a58cb7
Type fixes + use template safe values for renderTemplate() everywhere
2021-08-18 20:32:45 +03:00
Dragory
59e75e0584
Type fixes + circular dependency fix
2021-08-18 20:01:06 +03:00
Dragory
e3b6b017a2
Fix issues with circular dependencies between plugins
2021-08-18 19:33:22 +03:00
Dragory
8edaa75064
Temp fix for circular dependency
2021-08-18 02:01:56 +03:00
Dragory
bed6589d48
Typed log functions + more
2021-08-18 01:51:42 +03:00
Dragory
adbcbe9524
Fix error in log userMention() function
...
The function assumed a GuildMember object where a new
IConfigAccessibleMember object was used instead.
2021-08-14 15:42:32 +03:00
almeidx
3537305c59
upgrade discord.js
2021-08-04 20:45:42 +01:00
Dark
036d46f08a
Fix log bugs
2021-07-29 19:08:22 +02:00
almeidx
5de35f711d
use Util methods for escaping inline code and code blocks
2021-07-29 17:35:27 +01:00
Nils
392e7fc56e
Merge pull request #3 from almeidx/smol-refactor
...
Smol refactor
2021-07-29 03:03:38 +02:00
Dark
30010247b1
Fix object names
2021-07-29 03:02:00 +02:00
Dark
3886d2d1dd
Include Sticker and Emoji events in Logs
2021-07-29 01:02:29 +02:00
almeidx
b4ba1daa76
simplify
2021-07-28 23:30:52 +01:00
almeidx
60caa3153b
simplified ternary
2021-07-28 23:27:07 +01:00
almeidx
12d2724256
fix: updated some properties that were renamed on the discord.js side
2021-07-28 16:08:36 +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
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
dda19de6e6
Fix various bugs, update djs
2021-07-04 23:14:12 +02:00
Dark
968889e529
Add missing logtypes, add change visualization
2021-07-01 04:40:39 +02:00
Dark
144c9c43e0
Add logging for threads and stages
2021-07-01 02:21:16 +02:00