3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-15 13:51:51 +00:00
Commit graph

2500 commits

Author SHA1 Message Date
Miikka
69988d7ba5
Ignore video embed descriptions in word filter
The description field is present in the embed details,
but is not actually shown on the embed itself
2019-04-30 10:50:38 +03:00
Dragory
301959f8fc Handle reaction roles for an unknown message gracefully 2019-04-30 06:58:38 +03:00
Dragory
32782d0bfa Ignore embed thumbnail/image width/height updates in edit logs 2019-04-30 06:56:02 +03:00
Dragory
5b6941a1f6 Allow using !remind without a reminder text (the bot uses a message link then instead) 2019-04-30 06:28:10 +03:00
Dragory
d31de8db11 Fix unknown users in logs in several places 2019-04-30 06:20:55 +03:00
Dragory
e5092c98fa Tags: return an empty string for invalid inputs to mention() 2019-04-30 06:10:36 +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
65dfa27eaf Also apply censor filters to embeds and attachments 2019-04-30 06:05:53 +03:00
Dragory
3739433425 When using !search or !roles, refresh cached guild members periodically 2019-04-30 05:42:01 +03:00
Dragory
6b0345d1f0 Show message source/data in !source 2019-04-30 05:35:38 +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
97e78e37ca Split codeblocks properly in chunkMessageLines 2019-04-30 05:32:50 +03:00
Dragory
f28f2c13d4 Include base plugins in !about, show total number 2019-04-23 06:05:39 +03:00
Dragory
7cf32d0316 Add shard latency to !ping 2019-04-23 05:59:46 +03:00
Dragory
50c3c92c01 Add sort options to !roles 2019-04-23 05:59:29 +03:00
Dragory
a5f34d6e9a Add !about command 2019-04-23 05:58:50 +03:00
Dragory
3b340a92c1 Log in console when we crash due to too many recent errors 2019-04-23 05:38:48 +03:00
Dragory
64dd1fc9e0 Tolerate some Discord API errors before crashing 2019-04-23 05:29:53 +03:00
Dragory
0742c19cbb Fix occasional error when resolving a user by username 2019-04-23 05:28:50 +03:00
Dragory
706ccb4fce Fix bans failing when fetching members on-demand 2019-04-21 18:57:32 +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
ff8e7c6afc Update Eris 2019-04-20 21:02:09 +03:00
Dragory
85676aab07 Sanitize values in errors thrown in resolvedUser, resolvedUserLoose, and resolvedMember custom argument types 2019-04-20 20:43:47 +03:00
Dragory
c38c2cc904 Fix case preview in !cases when two or more of the first case notes have the same timestamp 2019-04-20 20:15:31 +03:00
Dragory
9f7f87dc77 Fix some argument type names 2019-04-20 19:55:35 +03:00
Dragory
51a77b0082 Don't load all members on startup
Should improve start times significantly
2019-04-20 19:54:55 +03:00
Dragory
d30fbbbbaa 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
d7079df83d Make !slowmode 0 an alias for !slowmode disable 2019-04-20 19:33:39 +03:00
Dragory
3700a2a4c5 In !cases, use the username from the latest case if the user is not found 2019-04-20 19:32:20 +03:00
Dragory
f6e487d073 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
7b00dc8498 Simplify import in Utility.ts 2019-04-20 19:23:11 +03:00
Dragory
6b3dc42747 Support attachments in !update 2019-04-20 19:20:35 +03:00
Dragory
cbc4f1bfdc When adding archive links to a case, make them all permanent, not just the first one 2019-04-20 19:13:40 +03:00
Dragory
b8077e59a4 Fix user's name not appearing in MEMBER_TIMED_UNMUTE log messages 2019-04-20 19:09:24 +03:00
Dragory
815b6ce4ac Fix resolvedUser and resolvedUserLoose types 2019-04-20 19:05:48 +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
2d690da92b Update Knub to 20.0.0 2019-04-20 19:02:06 +03:00
Dragory
608f17c532 Deprecate GuildActions. Fix double case posting when muting a user for message spam. Update to new mute/case style when muting a user for "other" spam.
GuildActions turned out to be a fairly pointless abstraction in the end.
It didn't really solve the problems it was meant to solve (that is,
reduce code spaghetti by having all inter-plugin calls go through a
single service, and allow easier ways to replace core plugins with
alternatives that share the same interface) any better than simply
using `this.getPlugin()` when needed, and introduced extra complexity
and made static analysis messier.
2019-04-20 17:36:28 +03:00
Dragory
89ce0555a7 Fix error when fetching unknown user 2019-04-19 20:05:20 +03:00
Dragory
88ed1d9313 Fix spam detection crash if a spam message is deleted before the spam filter applies 2019-04-19 12:26:17 +03:00
Dragory
ee20363dd8 Fix user mentions not working for mod actions. Allow using plain username to target users with mod actions. Make error messages more consistent. 2019-04-19 12:25:25 +03:00
Dragory
b76f87bbef Merge branch 'master' of github.com:Dragory/ZeppelinBot 2019-04-18 08:46:03 +03:00
Dragory
f3e6c05c67 Work on better error messages for mod actions, allow muting users that are not on the server; WIP 2019-04-18 08:45:51 +03:00
Miikka
74cce3d093
templateFormatter: fix unknown values showing up as "false" 2019-04-17 09:43:27 +03:00
Miikka
24e16078ec
Fix bot-maintained slowmodes not being applied 2019-04-15 14:11:58 +03:00
Miikka
160c31baf7
Fix slowmodes longer than 6h 2019-04-15 14:01:49 +03:00
Dragory
3643c319d4 Fix error when parsing a spam plugin mute time that is of type number 2019-04-14 20:12:00 +03:00