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

1660 commits

Author SHA1 Message Date
Dragory
eb9cd080fd
Add allowed_mentions option to Automod alert action 2021-04-29 00:50:25 +03:00
Dragory
f2cf46e734
Add tAllowedMentions
Mirrors AllowedMentions type from Eris
2021-04-29 00:49:37 +03:00
Dragory
7e40308a8a
Add tNormalizedNullOrUndefined and tNormalizedNullOptional
tNormalizedNullOrUndefined:
io-ts type that accepts null and undefined and normalizes both to
undefined

tNormalizedNullOptional:
io-ts type that accepts the specified type or null/undefined.
if null/undefined, the value is normalized to undefined.
this allows creating optional config options that can be "removed" by
setting their value to null.
2021-04-29 00:46:24 +03:00
Dragory
73f0b7e30b
Small tweaks to set_slowmode Automod action 2021-04-28 23:26:43 +03:00
Nils
dd9c52bc43
Add automod action for setting slowmode (#167) 2021-04-28 23:18:23 +03:00
Nils
13f75c9b54
Allow filtering !cases to certain types using switches (#168) 2021-04-28 22:51:09 +03:00
Nils
903a2369c8
Allow automod to issue tempbans (#189) 2021-04-28 22:42:54 +03:00
Dragory
3d549b4e78
Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-28 22:40:02 +03:00
Dragory
45e81848a7
Add postInCaseLog option for mod action Automod actions; allow forcing case log even when log_automatic_actions is disabled 2021-04-28 22:39:49 +03:00
Nils
20b1c869cd
Add -update/-up argument to automatically update latest/chosen case with !clean (#173) 2021-04-28 22:15:16 +03:00
Shoaib Sajid
dfc1bf2ba0
Add !infractions as an alias for !cases (#177) 2021-04-28 22:08:37 +03:00
Nils
51db942d97
Allow Automod to distinguish whether mod actions are manual or automatic (#179) 2021-04-28 22:06:33 +03:00
Shoaib Sajid
90b6f4bc86
Add !reminder as an alias for !remind (#181) 2021-04-28 22:04:01 +03:00
Usoka
6b9131c353
Fix 0 not being accepted in SetCounterCmd (#186) 2021-04-28 22:03:26 +03:00
Shoaib Sajid
00f368d62b
Fix typo in automod docs (#185) 2021-04-28 22:02:25 +03:00
Almeida
4448659dc0
fix(SetCounterCmd): misleading messages (#188) 2021-04-28 21:59:56 +03:00
Dragory
aa43f05173
Check !bansearch permissions before running search 2021-04-28 21:47:45 +03:00
Dragory
ee615c1f0e
Optimize !search and !bansearch performance for non-regex searches 2021-04-28 21:44:15 +03:00
Dragory
c7c1b1f96f
!ban: only run isBanned() if member is not found 2021-04-28 21:24:59 +03:00
Dragory
d747ac3982
Optimize isBanned() and handle errors properly 2021-04-28 21:23:51 +03:00
Dragory
4410f20562
Improve invite detection
Several less common patterns are now detected:
discord.gg/anything/here/<code>
discord.com/invite/<code>/anything/here
discordapp.com/invite/<code>/anything/here

Potential invite URLs are also parsed as URLs to clean out any
shenanigans related to valid-but-uncommon URL formats.
2021-04-28 21:12:23 +03:00
Dragory
c26ab2977f
Attempt another fix for counter decay deadlocks 2021-04-14 00:19:39 +03:00
Dragory
a558af1038
Fix crash from passing an invalid regex source to TRegex validation function 2021-04-13 23:50:39 +03:00
Dragory
c03e7240b4
Attempt to fix occasional deadlock in counter decays 2021-04-13 23:35:19 +03:00
Dragory
825bcf973f
Fix handling of partial server responses in simpleDiscordAPIRequest() 2021-04-12 13:04:04 +03:00
Dragory
3eca503349
Fix 1556909512501-MigrateUsernamesToNewHistoryTable migration stalling 2021-04-11 21:06:36 +03:00
Dragory
e69b581282
AutoDelete: ignore error 10008 Unknown Message
These errors are generally from messages that were deleted either by
automod or another bot, so safe to ignore.
2021-04-11 16:16:44 +03:00
Dragory
eb221859d8
Add permission checks and alerts to AutoDelete 2021-04-11 14:20:10 +03:00
Dragory
e6461d541d
Add permission checks and alerts to Automod 'reply' action 2021-04-11 14:13:25 +03:00
Dragory
c5cab69f98
Fix hasDiscordPermission() when checking against multiple permissions 2021-04-11 14:12:58 +03:00
Dragory
ad8aab3937
Fix error when using an unknown counter from Automod 2021-04-11 13:44:48 +03:00
Dragory
8763a06ef1
Use new voice channel mentions in default voice logs 2021-04-10 23:42:39 +03:00
Dragory
1d0f7636c2
verboseChannelMention: don't use # for voice channels 2021-04-10 23:42:24 +03:00
Dragory
e0a659be4a
Add allowed mentions back for reminders 2021-04-10 23:39:23 +03:00
Dragory
7a1779b43c
Disable mentions by default 2021-04-10 23:37:55 +03:00
Dragory
e57175dcc3
Add dev command to check server eligibility 2021-04-10 23:36:21 +03:00
Dragory
5f3c94d064
starboard: use default embed color by default instead of black 2021-04-10 16:30:03 +03:00
Dragory
5e77976dec
dashboard: improve mobile-friendliness 2021-04-10 14:03:42 +03:00
Dragory
40d9926718
dashboard: use cmd+s/cmd+f on mac 2021-04-10 13:38:51 +03:00
Dragory
26902af54e
dashboard: allow ctrl+s and ctrl+f to work outside the config editor 2021-04-10 13:27:25 +03:00
Dragory
6326e44856
dashboard: fix GuildConfigEditor not using TypeScript 2021-04-10 13:24:41 +03:00
Dragory
0562678e92
dashboard: make ApiError details public 2021-04-10 13:23:55 +03:00
Dragory
530536a77b
dashboard: add ctrl+f support to config editor 2021-04-10 13:11:37 +03:00
Dragory
186ac65924
Handle errors when sending message in automod 'alert' action 2021-04-04 22:30:21 +03:00
Dragory
fdaf386193
Temp fix to role change detection on specific servers: cache all members on bot start on these server 2021-04-02 21:31:11 +03:00
Dragory
f5504724b1
Fix missing reason in log entries for manual kicks 2021-04-02 21:26:54 +03:00
Dragory
db263e7851
docs: fix missing code block languages in counters setup guide 2021-04-02 20:19:26 +03:00
Dragory
3f34a463e9
Clean up unnecessary optional chaining 2021-04-02 20:17:29 +03:00
Dragory
dd07786fe8
!server: fix banner URL not being masked; rename links from 'URL' to 'Link' 2021-04-02 20:15:13 +03:00
Dragory
2e5224124f
Improve antiraid trigger automod logs 2021-04-02 19:50:37 +03:00