Commit graph

154 commits

Author SHA1 Message Date
Dragory
131a79ffd4
Add case icons. Clean up !cases. Allow customizing case colors and icons. 2020-08-11 04:16:06 +03:00
Dragory
eb203a3b7a
Use server timezone and date formats in case summaries. Link to cases in case log channel from case summaries. 2020-08-10 03:18:34 +03:00
Dragory
19a82b767f
When updating cases, update existing case embed in case log channel if possible 2020-08-10 02:35:47 +03:00
Dragory
c67a1df11d
Add support for server-specific timezone and date format settings 2020-08-10 00:24:06 +03:00
Dragory
ddbbc543c2
Add !deletecase 2020-08-09 22:44:46 +03:00
Dragory
d9c952bebd
Make BOT_ALERT log text more prominent by default 2020-08-07 01:22:52 +03:00
Dragory
60aff76ebe
!source: don't show source of messages you don't have access to; allow mods to use the command by default 2020-08-05 23:57:09 +03:00
Dark
8600cc4195 Update Massmute to newest version... again 2020-08-04 15:27:12 +02:00
Dark
cd45d929ad Change nickname storage to the intended 10 2020-07-29 01:58:28 +02:00
Dragory
1064a1ca46
Add custom logger. Fix a bunch of errors. Optimize imports. 2020-07-22 22:56:21 +03:00
Dragory
177fc40780
Various Knub 30 and type fixes 2020-07-06 02:08:11 +03:00
Dragory
c308a9b5ce
logs: fix bulk deletes not being logged 2020-06-04 02:51:15 +03:00
Dragory
3795ce6f1b
Increase messages CLEAN_PER_LOOP to 500 2020-06-02 00:58:17 +03:00
Dragory
59918858ec
Fix username history cleanup startup delay 2020-06-02 00:55:49 +03:00
Dragory
8c9f9dc42f
Add config retention period / cleanup 2020-06-02 00:47:37 +03:00
Dragory
6f1391aead
Remove debug log 2020-06-02 00:47:22 +03:00
Dragory
de71520747
Add username/nickname history retention periods 2020-06-02 00:26:06 +03:00
Dragory
80f6f69ccd
Message cleanup tweaks 2020-06-01 21:28:07 +03:00
Dragory
0eb6a0ef97
Tweaks to avoid deadlocks in GuildSavedMessages 2020-05-30 22:30:44 +03:00
Dragory
a011d4524d
Push cleanup interval back to 5min 2020-05-28 03:13:34 +03:00
Dragory
d781c6c3b4
Fix deletion limit in message cleanup 2020-05-28 03:09:27 +03:00
Dragory
bf3cae2201
Run message cleanup more frequently with a lower limit 2020-05-28 02:52:51 +03:00
Dragory
26f1042b8e
Retain bot messages for a shorter time, raise deletion limit 2020-05-28 02:50:07 +03:00
Dragory
6cd07ed696
Don'Ãt run message cleanup queries in the API process 2020-05-28 02:45:07 +03:00
Dragory
1ff86defc3
Fix 3 2020-05-28 02:39:04 +03:00
Dragory
ca9af4f24e
Fix 2 2020-05-28 02:37:14 +03:00
Dragory
51a16ee1aa
Fix 2020-05-28 02:34:26 +03:00
Dragory
8f71e51041
Small tweak to message cleanup 2020-05-28 02:30:03 +03:00
Dragory
e4aa101edd
Lower message retention period to 1 day 2020-05-28 01:54:38 +03:00
Dragory
f9568ab37b
Store supporters in the database 2020-05-28 01:29:51 +03:00
Dragory
e0209d3319
dashboard: work on guild access page 2020-05-23 17:31:01 +03:00
Dragory
d03d729438
dashboard/api: add support for Zeppelin staff members; add ViewGuild permission; code cleanup 2020-05-23 16:22:03 +03:00
Dragory
22a77994f6
Add logs for !note 2020-05-22 22:21:56 +03:00
Dragory
a5178dc78f
*Remove* debug line 2020-05-13 07:56:39 +03:00
Dragory
976a1c8d50
Remove debug line 2020-05-13 07:54:54 +03:00
roflmaoqwerty
76e371854f moved new emoji to beginning of join log 2020-04-03 16:14:22 +03:00
Dark
5afe3ce3fe Made Alerts infinite until timed out, added -active and changed cmd sigm 2020-04-03 16:09:58 +03:00
Dragory
820c9b466e
Add mass role add/remove commands. Fix UnknownUser mentions in logs. Fix unnecessary audit log reads when adding/removing roles and the log type is ignored. 2020-03-28 15:21:13 +02:00
Dragory
84135b201b
Add anti-raid levels to automod. Large refactor of spam detection. Add member_join and member_join_spam triggers.
Anti-raid levels don't by themselves do anything, but they can be
used in overrides to activate specific automod items.

Spam detection should now be more reliable and also combine further
spam messages after the initial detection into the archive.

Messages deleted by automod no longer create the normal deletion log
entry. Instead, the AUTOMOD_ACTION log entry contains the deleted
message or an archive if there are multiple (i.e. spam).
2020-01-26 19:54:32 +02:00
Dragory
dc27821a63
Add auto-delete plugin 2020-01-23 01:31:23 +02:00
Dragory
b403db5188
Refactor SelfGrantableRoles to use config instead of command management, add max_roles option 2020-01-22 01:27:04 +02:00
Dragory
5a0f8badca Persist: remove voice mute persist support
Since voice mutes cannot be re-applied unless the member is in voice,
we can't re-apply the voice mute automatically on join and would have
to do it later when they first join voice, which could get messy if
they were not supposed to be voice muted anymore after all (if they
e.g. don't use voice for a long time).
2020-01-12 17:05:55 +02:00
Dragory
1ae84afb12 Fix tslint errors 2020-01-12 12:04:20 +02:00
Dragory
1aceb55a87 Run prettier and check tslint on entire codebase
Mainly to run these checks for the recent pull requests.
2020-01-12 11:48:31 +02:00
roflmaoqwerty
17decd09d5 Added created_at field to reminders table. Added time remaining timestamp to reminders command. Added creation date timestamp to reminder activation message 2020-01-08 14:29:49 +11:00
Dragory
2ff65e89fd Add repeat options for scheduled posts 2019-12-01 23:23:34 +02:00
Dragory
646156344a automod: move actions taken after summary in log message 2019-12-01 15:59:57 +02:00
Dragory
56fb432c7c Initial work on stats 2019-12-01 15:57:35 +02:00
Dragory
d2a6cb1684 Add --exclusive/-e to !reaction_roles
When reaction roles are set as exclusive, a user can only have 1
reaction role from that message. Others are removed automatically when
picking a role if needed.
2019-11-30 23:39:32 +02:00
Dragory
8b1aa9bce0 Remove obsolete GuildStarboards repository 2019-11-30 17:05:36 +02:00