Commit graph

51 commits

Author SHA1 Message Date
Dragory
e259574bcc Hotfix 2019-05-02 08:25:14 +03:00
Dragory
1e2b68119c Fix member fetching in a few places 2019-05-02 08:21:11 +03:00
Dragory
32782d0bfa Ignore embed thumbnail/image width/height updates in edit logs 2019-04-30 06:56:02 +03:00
Dragory
d31de8db11 Fix unknown users in logs in several places 2019-04-30 06:20:55 +03:00
Dragory
7de57cc814 Also log self-deletions from the bot user 2019-04-30 06:08:47 +03:00
Dragory
081c7d0ac3 Standardize how message summaries are generated in logs 2019-04-30 06:07:48 +03:00
Dragory
70591eec3b Show rich embeds in message deletions logs 2019-04-30 05:35:19 +03:00
Dragory
2824c6a991 Show embed edits properly in logs; show bot self-edits in logs 2019-04-30 05:34:29 +03:00
Dragory
38b11775e5 Support excluding users from being logged 2019-04-21 18:11:49 +03:00
Dragory
f45e745d54 Fix occasional error when unknown roles are added or removed 2019-04-21 15:18:17 +03:00
Dragory
ab83e83d42 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
f5de7db971 Add safety net for unknown roles in guildMemberUpdate 2019-04-14 17:05:58 +03:00
Dragory
7f0833f699 Some fixes and cleanup 2019-04-14 13:30:48 +03:00
Dragory
434758b8ad Fix right click bans causing logs with the banned user's username missing 2019-04-14 13:26:29 +03:00
Dragory
50f5792bc5 Update to Knub 19.1.1 and update plugins accordingly 2019-04-13 01:44:18 +03:00
Dragory
db5d93b5c2 Logs: fix crash in userMention/channelMention if the user/channel doesn't exist 2019-03-16 16:39:32 +02:00
Dragory
11558df665 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
ba3af1cb63 Add templateFormatter; migrate from formatTemplateString to templateFormatter 2019-03-16 15:42:55 +02:00
Dragory
b7b42705f9 Add types for all plugin configs and permissions. Update code to work with Knub 18. 2019-03-04 21:44:04 +02:00
Dragory
56a1f51f56 plugins.Logs: log multiple role changes in one properly 2019-02-23 21:20:35 +02:00
Dragory
ed3760313f Update to Knub 17.0.1, remove all d.nonBlocking() calls 2019-02-17 15:19:55 +02:00
Dragory
6cc6528599 Logs: add support for batching multiple log messages into 1 2019-02-16 11:47:15 +02:00
Dragory
b4127a0fd8 Make lengthy handlers nonBlocking 2019-02-08 22:37:09 +02:00
Dragory
5d5d136891 Logs: use createChunkedMessage for log messages 2019-01-15 04:26:02 +02:00
Dragory
f6f1c29fc1 Add user id and show recent cases in 'member joined with prior records' log entry 2019-01-15 04:15:22 +02:00
Dragory
429653c66d Add GuildArchives.getUrl for getting the archive entry URL 2019-01-15 04:03:04 +02:00
Dragory
bf25342122 Add 'joined with prior records' log entry 2019-01-13 18:10:48 +02:00
Dragory
b0cd8762f1 Update to Knub 14.0.0 and make changes to plugins accordingly 2019-01-03 06:15:28 +02:00
Dragory
ce0b7ded08 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
3c3602f8d3 Log text/style tweaks; add message date to deletion logs 2018-12-22 12:38:52 +02:00
Dragory
1dd8266405 Fix buggy formatting in nickname reset logs 2018-12-22 12:28:48 +02:00
Dragory
33d2026556 Fix removing event listeners in LogsPlugin 2018-12-15 23:01:26 +02:00
Dragory
8d311590ad Don't log deletions/edits from the bot user 2018-12-15 17:19:23 +02:00
Dragory
62afd8e8e6 Show attachments in message deletion logs 2018-12-15 17:15:32 +02:00
Dragory
2bce771c59 Create archives from bulk deletes and cleans. Use GuildSavedMessages for cleans. 2018-11-24 18:39:17 +02:00
Dragory
2c8603ca70 Use GuildSavedMessages events in logs. Fix code blocks in edit logs. 2018-11-24 17:59:05 +02:00
Dragory
32856329b5 Don't crash when sending a log message that is too long 2018-08-03 19:26:06 +03:00
Dragory
27d525c155 Add some safeguards against messages without an author 2018-08-02 02:28:52 +03:00
Miikka
e8c021eea6
fix(logs): escape mentions in edit/delete logs 2018-08-01 09:36:46 +03:00
Dragory
d3dbb9f479 fix(logs): use log type strings for include/exclude 2018-07-31 20:23:33 +03:00
Dragory
5359d0d5fe General fixes. Update Knub to 9.6.1. Add info and server commands. 2018-07-31 04:02:45 +03:00
Dragory
7ded84b924 Add spam plugin. Add clean commands. Update Knub to 9.6.0. 2018-07-31 02:42:45 +03:00
Dragory
ad6afdfac1 Add persist plugin 2018-07-30 23:35:44 +03:00
Dragory
e7734c558c Add censor plugin. Various other fixes/features. Update Knub to 9.4.13. 2018-07-30 01:44:03 +03:00
Dragory
0c806f32fd More work on logging and automatic mod actions 2018-07-29 23:30:24 +03:00
Dragory
724c30703f feat: add logging for most events 2018-07-29 18:46:49 +03:00
Dragory
af7902e7de Add guild member join logging 2018-07-12 03:02:47 +03:00
Dragory
687d507325 Move default log messages to a .json file 2018-07-12 03:02:13 +03:00
Dragory
498ebe8939 Allow JSON TS imports, fix errors from enabling esModuleInterop (required for JSON imports) 2018-07-12 02:58:34 +03:00
Dragory
69224810cd Change prettier line width from 80 to 100, reformat files 2018-07-12 01:45:26 +03:00