Dragory
d54897acdd
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
8a3097f63e
Add a generic bot alert log type. Use this in several places.
2019-05-04 19:18:16 +03:00
Dragory
1fef4128cf
Only log username changes for users on the current server
2019-05-03 23:40:34 +03:00
Dragory
e231faf51f
Fix username change logging and saving. Re-enable migrations.
2019-05-03 23:31:38 +03:00
Miikka
8d73e1160f
Fix code block escape in embed edit logs
2019-05-03 14:36:55 +03:00
Dragory
b8e0f26bf0
Fix missing pings/mentions in logs
2019-05-03 08:08:21 +03:00
Miikka
6a3d5a6ed0
Fix lots of undefined user mentions in logs
2019-05-02 10:33:49 +03:00
Miikka
baaaded545
Add some debug logging
2019-05-02 10:30:31 +03:00
Dragory
43939021ff
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
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