Commit graph

1697 commits

Author SHA1 Message Date
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
Dragory
3afc95c858
Fix antiraid_level automod trigger not being available 2021-04-02 19:47:30 +03:00
Dragory
cc795c9742
Fix log_automatic_actions option not working for automod actions 2021-04-02 19:36:40 +03:00
Dragory
53b64682ee
Update to eris#dev 2021-04-02 19:02:20 +03:00
Dragory
ab51231fef
Merge branch 'master' of github.com:Dragory/ZeppelinBot 2021-04-02 18:00:27 +03:00
Dragory
acfbb19b3f
automod: if a rule is on cooldown, allow rules after it to trigger 2021-04-02 18:00:11 +03:00
Dragory
4f66f004d5
automod: fix cooldowns applying across rules 2021-04-02 17:59:41 +03:00
Dragory
9ac4e15573
automod: add any_message trigger 2021-04-02 17:57:04 +03:00
Dragory
b28186aa0a
automod: add antiraid_level trigger 2021-04-02 17:53:16 +03:00
Dragory
13294ad351
automod: allow setting antiraid level to null/off with set_antiraid_level action 2021-04-02 17:52:50 +03:00
Dragory
4147298120
Add counter documentation/examples. Tweak counter triggers/actions in automod.
Rename change_counter automod action to add_to_counter,
add set_counter action, rename counter trigger to counter_trigger.
2021-04-02 17:44:43 +03:00
Nils
56ade239dc
Allow mute and unmute to be upgraded to their force variant (#174) 2021-04-02 16:53:09 +03:00
DEX
c4a8c3014e
Adding av as an alias for the avatar command (#169) 2021-04-02 16:45:00 +03:00
vcokltfre
2af168b8e3
chore: update wording of permission error for -mod (#172) 2021-04-02 16:43:52 +03:00