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

424 commits

Author SHA1 Message Date
Dragory
7468e5348d Make warn/kick/ban actions in ModActions available to other plugins via public methods 2019-08-22 01:18:36 +03:00
Dragory
9dc0b9613a Add property/type for plugin info in ZeppelinPlugin 2019-08-21 22:07:13 +03:00
Dragory
846e623e3e Initial work on new automod 2019-08-18 16:40:15 +03:00
Miikka Virtanen
d6170abeeb Fix issues with long reasons in !ban/softban/kick. Display an error if a ban/softban/kick command fails. 2019-08-14 10:53:35 +03:00
Dragory
0b2d7bc124 Fix userid/channelid argument types; rename userid/userID to userId for consistency; misc code style fix 2019-08-10 01:48:02 +03:00
Dragory
5dbc37f8e3 ChannelArchiver: include message reactions in archive 2019-08-10 00:43:58 +03:00
Dragory
e75b87e8d5 ChannelArchiver: break out of the loop if there are no more messages to archive 2019-08-10 00:28:18 +03:00
Dragory
72dc016cc3 ChannelArchiver: fix archiving of the wrong channel 2019-08-10 00:22:25 +03:00
Dragory
29fd91ed49 Add ChannelArchiver plugin 2019-08-10 00:13:55 +03:00
Dragory
1912961451 Add a standardized way of checking for bot owners in global plugins 2019-08-10 00:12:16 +03:00
Dragory
fba0abf172 ModActions: ignore server errors when getting bans 2019-08-05 01:39:11 +03:00
Dragory
d3eee95ece Debug2 2019-08-04 19:20:46 +03:00
Dragory
4ae43b5a44 Debug 2019-08-04 18:08:20 +03:00
Dragory
67454a10eb Some improvements to 'unknown member' error reporting 2019-08-04 16:51:42 +03:00
Dragory
6fa0a55b28 Fix for non-object-literals in deepKeyIntersect 2019-08-04 16:47:42 +03:00
Dragory
5e7c70dbf1 Censor: use decoded TSafeRegex for blocked_regex, disable default i flag(!) 2019-08-04 15:48:03 +03:00
Dragory
a50922468f Use GlobalZeppelinPlugin when applicable 2019-08-04 15:47:09 +03:00
Dragory
82bd35f3fe Forgot to commit these a couple commits ago 2019-08-04 15:46:36 +03:00
Dragory
394cf91a8b BotControl: more robust owner checking, use GlobalZeppelinPlugin, add show_plugin_config command 2019-08-04 15:46:09 +03:00
Dragory
242bfe2b39 Configs are not decoded as well as validated by io-ts. Improvements to config validation, error messages, and TSafeRegex type. 2019-08-04 15:44:41 +03:00
Dragory
e23108673d Add support for safe regex type checking; make sure regexes passed to Censor are safe 2019-08-04 13:41:35 +03:00
Dragory
59d0ef7cb0 Post: don't confirm post commands if the target channel is the same as the command channel 2019-08-04 13:18:02 +03:00
Dragory
c2eef25454 Code cleanup 2019-08-04 13:16:46 +03:00
Dragory
f26ac4bd85 Utility: make sure the data in !info is always fresh 2019-08-04 13:16:23 +03:00
Dragory
bf5656b7aa Mutes: fix mutes/unmutes sometimes not applying/removing the role 2019-08-04 13:16:01 +03:00
Dragory
fba6ae96ba Add forceFresh parameter to resolveMember. Clean up resolveUser/resolveMember code. 2019-08-04 13:14:23 +03:00
Dragory
6874a08904 Add bot alerts for missing audit log permissions; ignore internal server errors on discord's side when fetching audit logs 2019-07-22 13:50:24 +03:00
Dragory
db3e5cd32d CompanionChannels: snake_case for config options, 'companions' -> 'entries' 2019-07-22 13:27:28 +03:00
Dragory
e565f4dadb Better debug message 2019-07-22 13:14:10 +03:00
Dragory
ca9494ea33 CompanionChannels: refactor config format, don't do unnecessary permission changes 2019-07-22 13:11:14 +03:00
Dragory
28b4541e79 Fix unknown property validation; fix override validation; be clear about which property is unknown 2019-07-22 13:09:05 +03:00
Dragory
153674da7d Remove LogServer in favor of API server's log endpoint (again) 2019-07-22 00:48:26 +03:00
Dragory
16a5b5c13a Add temporary config auto-reload 2019-07-22 00:10:54 +03:00
Dragory
24afc0a503 Typing fixes; show last reload time in !about 2019-07-22 00:09:45 +03:00
Dragory
a3327796bb ReactionRoles: enable auto refresh by default 2019-07-21 21:20:57 +03:00
Dragory
039f0452fb Add io-ts config schemas to all guild plugins 2019-07-21 21:15:52 +03:00
Dragory
0634fd542c GuildInfoSaver: also update owner id 2019-07-12 14:25:27 +03:00
Dragory
7fbe3aafef Reminders: fix double/triple/etc. posting after reload 2019-07-12 14:21:25 +03:00
Dragory
57491024fb Fix merge conflicts, remove PluginRuntimeError changes 2019-07-11 12:52:02 +03:00
Dragory
bf11d1e3d5 Mutes: only post 'all mutes posted' confirmation if there are more than a couple chunks 2019-07-11 12:38:50 +03:00
Dragory
1f615f2af0 Mutes: don't crash if the loading message for !mutes was already deleted 2019-07-11 12:37:49 +03:00
Miikka
51fa33e190 Merge pull request #12 from DarkView/MutesListLoadingMessage
Implemented loading and finished message for the mutes command
2019-07-11 12:37:04 +03:00
Miikka
a161e2635f Merge pull request #10 from DarkView/FixMutingTheBot
Include or check to see if the acted on member is the bot
2019-07-11 12:36:17 +03:00
Dragory
ed051696d0 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2019-07-11 12:30:23 +03:00
Dragory
683a9d6e6a Fix unload clear() call in CompanionChannelPlugin 2019-07-11 12:29:50 +03:00
Dragory
920e50dda0 Fix merge conflict 2019-07-11 12:28:39 +03:00
Miikka
1efcd04261 Merge pull request #2 from DarkView/patch-1
Fix leading white-space resulting in no results
2019-07-11 12:25:51 +03:00
Dragory
1320bcd1d7 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2019-07-11 12:24:05 +03:00
Dragory
3f4724b699 Switch from ajv to io-ts for config validation; validate configs on save in the API/dashboard; start work on creating io-ts schemas for all plugins 2019-07-11 12:23:57 +03:00
Miikka Virtanen
d8a0368893 Re-enable LogServer for now 2019-07-04 13:35:01 +03:00