Dragory
3e710dfb82
Fix antiraid level upsert for MySQL
2020-09-15 00:59:46 +03:00
Dragory
b6e99f6c02
Centralize DM logic, don't attempt DMs for an hour after a 20026 error
2020-08-21 03:44:38 +03:00
Dragory
a39bdb559f
!timezone: add fuzzy matching for timezone name; add reset
2020-08-19 00:47:42 +03:00
Dragory
6ba56a3f12
Add time_and_date plugin. Use it for timezones and date formats around the bot.
2020-08-19 00:19:12 +03:00
Dragory
425f6e6674
Add case icons. Clean up !cases. Allow customizing case colors and icons.
2020-08-11 04:16:06 +03:00
Dragory
c5bb652a4c
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
4275104de7
When updating cases, update existing case embed in case log channel if possible
2020-08-10 02:35:47 +03:00
Dragory
8bd1572e2a
Add support for server-specific timezone and date format settings
2020-08-10 00:24:06 +03:00
Dragory
4c9b5778b2
Add !deletecase
2020-08-09 22:44:46 +03:00
Dragory
02b44f944c
Make BOT_ALERT log text more prominent by default
2020-08-07 01:22:52 +03:00
Dragory
4b062f6d23
!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
c19c13e2f5
Update Massmute to newest version... again
2020-08-04 15:27:12 +02:00
Dark
cae4bab549
Change nickname storage to the intended 10
2020-07-29 01:58:28 +02:00
Dragory
0c9a619880
Add custom logger. Fix a bunch of errors. Optimize imports.
2020-07-22 22:56:21 +03:00
Dragory
08550f922a
Various Knub 30 and type fixes
2020-07-06 02:08:11 +03:00
Dragory
3fd3933567
logs: fix bulk deletes not being logged
2020-06-04 02:51:15 +03:00
Dragory
1a3fd72c96
Increase messages CLEAN_PER_LOOP to 500
2020-06-02 00:58:17 +03:00
Dragory
1b083b82c0
Fix username history cleanup startup delay
2020-06-02 00:55:49 +03:00
Dragory
bbf4955f6c
Add config retention period / cleanup
2020-06-02 00:47:37 +03:00
Dragory
7d9d853607
Remove debug log
2020-06-02 00:47:22 +03:00
Dragory
52600360f1
Add username/nickname history retention periods
2020-06-02 00:26:06 +03:00
Dragory
f75395b8a9
Message cleanup tweaks
2020-06-01 21:28:07 +03:00
Dragory
3419ed1fa3
Tweaks to avoid deadlocks in GuildSavedMessages
2020-05-30 22:30:44 +03:00
Dragory
97259e1fa0
Push cleanup interval back to 5min
2020-05-28 03:13:34 +03:00
Dragory
327e0d4fd6
Fix deletion limit in message cleanup
2020-05-28 03:09:27 +03:00
Dragory
411d03b7c8
Run message cleanup more frequently with a lower limit
2020-05-28 02:52:51 +03:00
Dragory
98203be85d
Retain bot messages for a shorter time, raise deletion limit
2020-05-28 02:50:07 +03:00
Dragory
eeaf0d663a
Don'Ãt run message cleanup queries in the API process
2020-05-28 02:45:07 +03:00
Dragory
3e52aa61f4
Fix 3
2020-05-28 02:39:04 +03:00
Dragory
d9b6cffd8c
Fix 2
2020-05-28 02:37:14 +03:00
Dragory
bd897e134b
Fix
2020-05-28 02:34:26 +03:00
Dragory
4a75235b63
Small tweak to message cleanup
2020-05-28 02:30:03 +03:00
Dragory
e887c6bf60
Lower message retention period to 1 day
2020-05-28 01:54:38 +03:00
Dragory
78ae7b840c
Store supporters in the database
2020-05-28 01:29:51 +03:00
Dragory
c1f63fc5f4
dashboard: work on guild access page
2020-05-23 17:31:01 +03:00
Dragory
76dc049332
dashboard/api: add support for Zeppelin staff members; add ViewGuild permission; code cleanup
2020-05-23 16:22:03 +03:00
Dragory
e6fe71db64
Add logs for !note
2020-05-22 22:21:56 +03:00
Dragory
19b54360a4
*Remove* debug line
2020-05-13 07:56:39 +03:00
Dragory
2be4e3c9c2
Remove debug line
2020-05-13 07:54:54 +03:00
roflmaoqwerty
ce0b019ad8
moved new emoji to beginning of join log
2020-04-03 16:14:22 +03:00
Dark
e6dbb3e5cd
Made Alerts infinite until timed out, added -active and changed cmd sigm
2020-04-03 16:09:58 +03:00
Dragory
1f2e8f6e6d
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
c0c919a5ce
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
8a7cfb8a90
Add auto-delete plugin
2020-01-23 01:31:23 +02:00
Dragory
15c6c4d939
Refactor SelfGrantableRoles to use config instead of command management, add max_roles option
2020-01-22 01:27:04 +02:00
Dragory
4c404aa2a3
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
78d3f7e887
Fix tslint errors
2020-01-12 12:04:20 +02:00
Dragory
3d40783ae1
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
141cc1b9cc
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
ff4a9e9bd3
Add repeat options for scheduled posts
2019-12-01 23:23:34 +02:00