Dragory
9250c84637
Reorganize project. Add folder for shared code between backend/dashboard. Switch from jest to ava for tests.
2019-11-02 22:11:26 +02:00
Dragory
1196b40923
excluded_message_regex -> _regexes
2019-10-11 23:44:03 +03:00
Dragory
985c4f3f66
logs: add excluded_message_regex option
2019-10-11 23:39:36 +03:00
Dragory
98908e8a9f
Automod logging improvements
2019-10-11 22:56:34 +03:00
Dragory
def46941c9
Automod work. Add config examples to automod.
2019-10-11 01:59:56 +03:00
Dragory
12f25346ec
More documentation work
2019-08-22 02:58:32 +03:00
Dragory
9e69b3bf5b
Auto-generate plugin docs (WIP)
2019-08-22 01:22:26 +03:00
Dragory
6874a08904
Add bot alerts for missing audit log permissions; ignore internal server errors on discord's side when fetching audit logs
2019-07-22 13:50:24 +03:00
Dragory
24afc0a503
Typing fixes; show last reload time in !about
2019-07-22 00:09:45 +03:00
Dragory
039f0452fb
Add io-ts config schemas to all guild plugins
2019-07-21 21:15:52 +03:00
Dragory
9109e9a2c3
Split BaseRepository into non-guild and guild
...
BaseRepository includes all the non-guild-specific functionality,
such as with() and getRelations().
BaseGuildRepository includes guild-specific functionality, such as
getInstance().
2019-05-25 21:25:34 +03:00
Dragory
c7fc789c1e
Add a generic bot alert log type. Use this in several places.
2019-05-04 19:18:16 +03:00
Dragory
33d65867d0
Only log username changes for users on the current server
2019-05-03 23:40:34 +03:00
Dragory
f33b3c37ff
Fix username change logging and saving. Re-enable migrations.
2019-05-03 23:31:38 +03:00
Miikka
1c9fa49ca3
Fix code block escape in embed edit logs
2019-05-03 14:36:55 +03:00
Dragory
5ed953eeb6
Fix missing pings/mentions in logs
2019-05-03 08:08:21 +03:00
Miikka
7b197357c8
Fix lots of undefined user mentions in logs
2019-05-02 10:33:49 +03:00
Miikka
04e582be63
Add some debug logging
2019-05-02 10:30:31 +03:00
Dragory
d4e96f5be3
Don't fetch members on demand in logs only to check the 'ping_user' config value
2019-05-02 08:48:13 +03:00
Dragory
f79c3a6e6f
Hotfix
2019-05-02 08:25:14 +03:00
Dragory
ef9afee8b4
Fix member fetching in a few places
2019-05-02 08:21:11 +03:00
Dragory
5767a690d3
Ignore embed thumbnail/image width/height updates in edit logs
2019-04-30 06:56:02 +03:00
Dragory
2500b1db48
Fix unknown users in logs in several places
2019-04-30 06:20:55 +03:00
Dragory
6fb93dac46
Also log self-deletions from the bot user
2019-04-30 06:08:47 +03:00
Dragory
6e1f858f8a
Standardize how message summaries are generated in logs
2019-04-30 06:07:48 +03:00
Dragory
ead7c51404
Show rich embeds in message deletions logs
2019-04-30 05:35:19 +03:00
Dragory
201baa913f
Show embed edits properly in logs; show bot self-edits in logs
2019-04-30 05:34:29 +03:00
Dragory
48adaf3356
Support excluding users from being logged
2019-04-21 18:11:49 +03:00
Dragory
c94a1c2949
Fix occasional error when unknown roles are added or removed
2019-04-21 15:18:17 +03:00
Dragory
ba7fbd87a7
Add custom argument types for deep-resolved users/members, use these in some places. Deprecate unknownUser (constant) and replace with instances of UnknownUser (class).
2019-04-20 19:03:30 +03:00
Dragory
ff5666a7fe
Add safety net for unknown roles in guildMemberUpdate
2019-04-14 17:05:58 +03:00
Dragory
d9fc59f892
Some fixes and cleanup
2019-04-14 13:30:48 +03:00
Dragory
25b986740f
Fix right click bans causing logs with the banned user's username missing
2019-04-14 13:26:29 +03:00
Dragory
289b425a25
Update to Knub 19.1.1 and update plugins accordingly
2019-04-13 01:44:18 +03:00
Dragory
657487ede7
Logs: fix crash in userMention/channelMention if the user/channel doesn't exist
2019-03-16 16:39:32 +02:00
Dragory
69bcf9619e
Logs: add permission for whether a user is pinged in logs or not (mainly to not ping mods); templateFormatter: fix error when following a plain value variable with a function variable
2019-03-16 16:10:30 +02:00
Dragory
f8ae8a3003
Add templateFormatter; migrate from formatTemplateString to templateFormatter
2019-03-16 15:42:55 +02:00
Dragory
1c77269643
Add types for all plugin configs and permissions. Update code to work with Knub 18.
2019-03-04 21:44:04 +02:00
Dragory
5681270216
plugins.Logs: log multiple role changes in one properly
2019-02-23 21:20:35 +02:00
Dragory
9c099d5541
Update to Knub 17.0.1, remove all d.nonBlocking() calls
2019-02-17 15:19:55 +02:00
Dragory
c3271da7d4
Logs: add support for batching multiple log messages into 1
2019-02-16 11:47:15 +02:00
Dragory
988f0842a0
Make lengthy handlers nonBlocking
2019-02-08 22:37:09 +02:00
Dragory
24e36b231d
Logs: use createChunkedMessage for log messages
2019-01-15 04:26:02 +02:00
Dragory
af4ad0b0cd
Add user id and show recent cases in 'member joined with prior records' log entry
2019-01-15 04:15:22 +02:00
Dragory
0558fc7ab2
Add GuildArchives.getUrl for getting the archive entry URL
2019-01-15 04:03:04 +02:00
Dragory
09bc1526bb
Add 'joined with prior records' log entry
2019-01-13 18:10:48 +02:00
Dragory
12f309d412
Update to Knub 14.0.0 and make changes to plugins accordingly
2019-01-03 06:15:28 +02:00
Dragory
29782bbfda
Message archive formatting tweaks and fixes; only emit deleteBulk event from SavedMessages if any messages were actually marked as deleted
2018-12-22 13:06:40 +02:00
Dragory
8b8efc3585
Log text/style tweaks; add message date to deletion logs
2018-12-22 12:38:52 +02:00
Dragory
da1b706bb2
Fix buggy formatting in nickname reset logs
2018-12-22 12:28:48 +02:00