Commit graph

462 commits

Author SHA1 Message Date
Dragory
77ed889adc Debug 2019-08-04 18:08:20 +03:00
Dragory
08d49ad477 Some improvements to 'unknown member' error reporting 2019-08-04 16:51:42 +03:00
Dragory
a1aa995a7a Fix for non-object-literals in deepKeyIntersect 2019-08-04 16:47:42 +03:00
Dragory
e4f1a6eb15 Censor: use decoded TSafeRegex for blocked_regex, disable default i flag(!) 2019-08-04 15:48:03 +03:00
Dragory
82a0fa4b43 Use GlobalZeppelinPlugin when applicable 2019-08-04 15:47:09 +03:00
Dragory
a602164c13 Forgot to commit these a couple commits ago 2019-08-04 15:46:36 +03:00
Dragory
e0bef49a84 BotControl: more robust owner checking, use GlobalZeppelinPlugin, add show_plugin_config command 2019-08-04 15:46:09 +03:00
Dragory
6043fd5cd3 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
68380c5ac3 Add support for safe regex type checking; make sure regexes passed to Censor are safe 2019-08-04 13:41:35 +03:00
Dragory
aab3a0cb1d 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
5aa1f3cec9 Code cleanup 2019-08-04 13:16:46 +03:00
Dragory
f0ba484f79 Utility: make sure the data in !info is always fresh 2019-08-04 13:16:23 +03:00
Dragory
09464e56e3 Mutes: fix mutes/unmutes sometimes not applying/removing the role 2019-08-04 13:16:01 +03:00
Dragory
66d6642bc6 Add forceFresh parameter to resolveMember. Clean up resolveUser/resolveMember code. 2019-08-04 13:14:23 +03:00
Dragory
ee58769460 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
fb481aa583 CompanionChannels: snake_case for config options, 'companions' -> 'entries' 2019-07-22 13:27:28 +03:00
Dragory
6eff4dd80f Better debug message 2019-07-22 13:14:10 +03:00
Dragory
20d7d77178 CompanionChannels: refactor config format, don't do unnecessary permission changes 2019-07-22 13:11:14 +03:00
Dragory
00e34b322d Fix unknown property validation; fix override validation; be clear about which property is unknown 2019-07-22 13:09:05 +03:00
Dragory
b24dd6a938 Remove LogServer in favor of API server's log endpoint (again) 2019-07-22 00:48:26 +03:00
Dragory
a517ca3906 Add temporary config auto-reload 2019-07-22 00:10:54 +03:00
Dragory
3e0498f96b Typing fixes; show last reload time in !about 2019-07-22 00:09:45 +03:00
Dragory
b48d39fe09 ReactionRoles: enable auto refresh by default 2019-07-21 21:20:57 +03:00
Dragory
74c78f51ce Add io-ts config schemas to all guild plugins 2019-07-21 21:15:52 +03:00
Dragory
d80bc54635 GuildInfoSaver: also update owner id 2019-07-12 14:25:27 +03:00
Dragory
4cf58bd9f5 Reminders: fix double/triple/etc. posting after reload 2019-07-12 14:21:25 +03:00
Dragory
f190e73c28 Fix merge conflicts, remove PluginRuntimeError changes 2019-07-11 12:52:02 +03:00
Dragory
9e1240856a Mutes: only post 'all mutes posted' confirmation if there are more than a couple chunks 2019-07-11 12:38:50 +03:00
Dragory
d1a9cf6dc9 Mutes: don't crash if the loading message for !mutes was already deleted 2019-07-11 12:37:49 +03:00
Miikka
633da55ccf
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
b4ea5525c6
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
9d197e2082 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2019-07-11 12:30:23 +03:00
Dragory
2d8713d54e Fix unload clear() call in CompanionChannelPlugin 2019-07-11 12:29:50 +03:00
Dragory
ac9a040673 Fix merge conflict 2019-07-11 12:28:39 +03:00
Miikka
57528d80d0
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
c6e8ee954a Merge branch 'master' of github.com:Dragory/ZeppelinBot 2019-07-11 12:24:05 +03:00
Dragory
da114c0e60 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
2179a78c9f Re-enable LogServer for now 2019-07-04 13:35:01 +03:00
Miikka Virtanen
91363dbc97 Tags: allow access to the tag user's user/member data 2019-07-04 13:23:28 +03:00
Nils Blömeke
d4e76a0fd7 Delete all vcalerts when a user gets banned
Since they are unnecessary either way, they cannot be triggered anymore and would just idle in the DB
2019-06-28 23:53:10 +02:00
Nils Blömeke
3174425083 Made it possible to list all alerts and delete them
Might be needed since you can potentially set reminders for far far in the future
2019-06-28 23:26:24 +02:00
Nils Blömeke
913120a1fe Fully functional LocatePlugin with alerts in DB and reminders 2019-06-26 01:04:11 +02:00
Dragory
b230a73a6f Dashboard work and related 2019-06-23 19:18:41 +03:00
Dragory
1dae3019c4 Merge branch 'dashboard' 2019-06-22 18:52:54 +03:00
Dragory
6111ecebe1 Merge branch 'master' of github.com:Dragory/ZeppelinBot 2019-06-22 18:52:49 +03:00
Dragory
168d82a966 Add CustomEvents plugin 2019-06-22 18:50:43 +03:00
Dragory
9b43101e5d Clarify default mute message wording 2019-06-22 18:50:09 +03:00
Nils Blömeke
59a7e51b63 Implemented loading and finished message 2019-06-18 23:43:01 +02:00
Nils Blömeke
468cab72ff Include or check to see if the acted on member is the bot 2019-06-17 19:08:15 +02:00
Miikka
c576d9a37c
Fix perms in MessageSaver 2019-06-11 10:26:50 +03:00