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
def46941c9
Automod work. Add config examples to automod.
2019-10-11 01:59:56 +03:00
Miikka Virtanen
8914fe83c4
Fix error if the bot attempts to save a message that was already saved
2019-08-14 10:57:39 +03:00
Dragory
323c7e66aa
Dashboard work. Move configs to DB. Some script reorganization. Add nodemon configs.
2019-06-22 18:52:24 +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
8baed81e1d
Do saved message clean-up globally, not per-guild
...
Possible fix for the DEADLOCK errors on the server, and should also be
more performant (though probably marginally).
2019-04-20 19:51:33 +03:00
Dragory
0987125b35
Reduce retention period of saved messages from 1 week to 5 days
...
Step 1 of a multi-step change to reduce the retention period to 1-3 days
to save database space.
2019-04-20 19:24:36 +03:00
Dragory
6f48ba932f
GuildSavedMessages: don't ignore edits with the same content (since embeds, attachments, etc. can differ)
2019-01-15 03:59:26 +02:00
Dragory
4b31a28ea2
tags: delete command/response msg if the other is deleted
2019-01-06 14:39:16 +02:00
Dragory
a96e4b2483
SavedMessages: ignore fake edit events
2018-12-22 15:00:06 +02:00
Dragory
77a0cc8397
SavedMessages: don't emit message deletion events for non-saved messages
2018-12-22 14:37:41 +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
664b878f75
Fix error when editing non-saved messages
2018-12-15 23:07:19 +02:00
Dragory
993b38db74
Allow mentions in "!clean user"; fix some clean command bugs
2018-11-24 19:42:51 +02:00
Dragory
2b333409a7
Fix bulk message deletion logging. Remove !clean command and response after a short delay.
2018-11-24 19:33:29 +02:00
Dragory
2c561afe1a
Create archives from bulk deletes and cleans. Use GuildSavedMessages for cleans.
2018-11-24 18:39:17 +02:00
Dragory
2f31579777
Use GuildSavedMessages events in logs. Fix code blocks in edit logs.
2018-11-24 17:59:05 +02:00
Dragory
0eee5529b6
Port Censor and Spam plugins to use GuildSavedMessages events
2018-11-24 17:12:36 +02:00
Dragory
034391d9fe
Add QueuedEventEmitter, use it for GuildSavedMessages events
2018-11-24 14:58:54 +02:00
Dragory
b2a7887fef
GuildSavedMessages: save messages in a more compact way
2018-11-24 14:53:55 +02:00
Dragory
9bb99e5539
GuildSavedMessages: only return non-deleted messages with find
2018-11-24 14:33:43 +02:00
Dragory
5fe2f9fc39
GuildSavedMessages: remove guild_id override
2018-11-24 14:23:10 +02:00
Dragory
6b89d1eda7
Some code reorganisation
2018-11-24 14:18:48 +02:00
Dragory
a60b1a5b22
Add MessageSaver plugin. Fix some buggy queries.
2018-11-24 14:01:06 +02:00