Commit graph

1687 commits

Author SHA1 Message Date
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
Nils
c5d68650a3
Enforce unified lock names by using functions to generate lock keys (#165) 2021-04-02 16:43:13 +03:00
vcokltfre
fcbb25b7ff
feat: add color option to starboard (#163)
Co-authored-by: Almeida <42935195+almeidx@users.noreply.github.com>
2021-04-02 16:42:25 +03:00
Nils
2e50fa7630
Add allow_mentions option to enable tags mentioning someone (#160)
Checked when a tag is posted - so a tag can have for example pings enabled if a mod executes that tag, but not if anyone below mod does it.
2021-04-02 16:40:20 +03:00
Nils
2fc8cffd80
Allow kicking the user from VC on mute (#156)
* Allow kicking the user from VC on mute

If any non-id string is entered in `move_to_voice_channel`, the user is kicked from the VC instead of being moved. We do not automatically kick if the option is set to null in order to not make this a breaking change for old, intended behavior

* Add explicit config option for kicking instead of kicking on any non-id

Kicking takes precedent in this case and will take effect instead of moving to voice id
2021-04-02 16:39:22 +03:00
Jonathan
fb4979ff00
Add !reason alias for !update (#141) 2021-04-02 16:38:24 +03:00
Dragory
ab8ea2e7e5
counters: move triggers to counters plugin; architectural tweaks 2021-04-02 16:36:45 +03:00
Dragory
7f75d6d8d3
Update Knub to v30.0.0-beta.35 2021-03-06 13:32:23 +02:00
Dragory
d37e91b7d5
Update to TypeORM v0.2.31 2021-02-15 22:32:51 +02:00
Dragory
47adfb07eb
automod: fix {logMessage} variable in alert text 2021-02-15 00:25:20 +02:00
Dragory
6bb6dfadb9
automod: use proper locks in removeRoles action 2021-02-14 17:16:00 +02:00