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

753 commits

Author SHA1 Message Date
Dragory
bf998b223c Add !context utility command 2019-11-30 19:54:44 +02:00
Dragory
2ae9548b4c automod: show matched text in summaries; don't use show post date in summaries; add logMessage variable to alert action
Post date will always be more or less the time the log message is posted.

The logMessage variable in the alert action contains the full,
formatted log message that would be posted in a log channel as the
AUTOMOD_ACTION log type.
2019-11-30 18:16:02 +02:00
Dragory
126fb6fa66 Update README instructions 2019-11-30 17:11:20 +02:00
Dragory
a5f4af1ea5 Remove now-unused nodemon 2019-11-30 17:08:11 +02:00
Dragory
4781ab83de Remove obsolete GuildStarboards repository 2019-11-30 17:05:36 +02:00
Dragory
1b809aaf4f Switch from ts-node to tsc-watch for faster watch restarts; move format npm script to project root 2019-11-30 17:05:18 +02:00
Dragory
acf733e4c2 automod: add add_roles and remove_roles actions 2019-11-30 16:18:29 +02:00
Dragory
c7e7a60c03 automod: simplify preprocessStaticConfig 2019-11-28 18:34:48 +02:00
Dragory
56e350cb41 utility.about: fix git repo path; don't throw an error if a git repo is not found 2019-11-28 02:47:15 +02:00
Dragory
624bb6f570 starboard: post-merge tweaks; use preprocessStaticConfig; utilize overrides rather than config properties when possible 2019-11-28 02:39:26 +02:00
Dragory
c10d12ac22 Run a loose pre-check before preprocessStaticConfig
This loose pre-check checks the config schema by treating every object
as partial. This means that if a property exists, it's guaranteed to be
the correct type (e.g. object). However, there's no guarantee that all
or any properties exist.

This allows preprocessStaticConfig implementations to be much less
defensive and thus reduce boilerplate.
2019-11-28 02:34:41 +02:00
Dragory
b59a957a3d post: use content as raw embed source in !post_embed with --raw/-r switch 2019-11-27 22:04:00 +02:00
Dragory
5dee58d36e Mark StrictValidationError errors property as readonly 2019-11-27 22:03:10 +02:00
Dragory
958509ea9b Update prettier to 1.19.1 for optional chaining/nullish coalescing support 2019-11-27 22:02:37 +02:00
Dragory
cffdc13ef8 utils: add messageLink() and isValidEmbed() 2019-11-27 22:02:11 +02:00
Dragory
9cc2d29f6b Change target in tsconfig from esnext to es2018 to support optional chaining/nullish coalescing on Node.js 12 2019-11-27 21:43:54 +02:00
Dragory
bc48ef3e77 nodemon: set watch delay of 300 to prevent mass-restarts on pulls/refactors 2019-11-27 21:19:18 +02:00
Dragory
073860606b Merge branch 'DarkView-newStarboard' 2019-11-27 20:47:53 +02:00
Dragory
6bfcbdf6d9 Merge branch 'newStarboard' of https://github.com/DarkView/ZeppelinBot into DarkView-newStarboard 2019-11-27 20:47:39 +02:00
Dragory
d07a72ce2a Fix URL matching in automod, censor, and spam plugin 2019-11-27 20:41:45 +02:00
Dragory
94f8362f43 Don't apply multiple automod rules to the same message 2019-11-27 20:30:50 +02:00
Dragory
62685c6f02 Disable unneeded tslint warning 2019-11-27 20:30:36 +02:00
Nils Blömeke
06d497027e Finished Starboard (Pre Override test) 2019-11-09 00:48:38 +01:00
Dragory
5a477f28ba Update dashboard instructions in README 2019-11-08 00:22:17 +02:00
Dragory
1c771796fd Update README instructions and example config, add some notes 2019-11-08 00:20:24 +02:00
Dragory
d35d476589 Add related links as a comment to register-tsconfig-prod-paths.js 2019-11-08 00:16:57 +02:00
Dragory
1d6a1bf485 Code cleanup 2019-11-08 00:05:36 +02:00
Dragory
a13ab9f3d1 Fix invalid redirect in GuildConfigEditor if guild was not found 2019-11-08 00:05:01 +02:00
Dragory
5eecadd2e9 More work on API permissions 2019-11-08 00:04:24 +02:00
Dragory
d76aa71b52 Ignore .cache everywhere, not just repository root 2019-11-08 00:03:24 +02:00
Dragory
5352a2625b Fix issues caused by @shared tsconfig path 2019-11-08 00:03:02 +02:00
Dragory
487dee9838 dashboard: update babel packages 2019-11-07 22:56:51 +02:00
Dragory
47430989c8 dashboard: use tsconfig path aliases in webpack automatically 2019-11-07 22:53:28 +02:00
Dragory
0ab3c45e18 Fix @shared tsconfig paths so they resolve properly 2019-11-07 22:53:11 +02:00
Dragory
c650144509 Update Typescript to 3.7 2019-11-07 22:52:40 +02:00
Dragory
71db47a94d Update husky and lint-staged 2019-11-02 22:16:43 +02:00
Dragory
8d1a288f01 Add api permissions groundwork 2019-11-02 22:12:07 +02:00
Dragory
9250c84637 Reorganize project. Add folder for shared code between backend/dashboard. Switch from jest to ava for tests. 2019-11-02 22:11:26 +02:00
Dragory
cd53d3ce5d Automod: add custom status support; add rule cooldown support (not for raidspam yet) 2019-10-26 02:59:11 +03:00
Dragory
ca343374e4 Revamp !help command. Add support for linking to specific commands in zep docs. 2019-10-26 02:13:16 +03:00
Dragory
d906b91310 Always use the original TypeConversionError instance that knub is expecting 2019-10-26 02:12:43 +03:00
Dragory
8b5dd1f497 Update knub-command-manager to 6.1.0 2019-10-26 02:11:50 +03:00
Dragory
410bfc6958 Update Eris to 0.11.0. Update Knub to 26.0.2. 2019-10-26 01:17:03 +03:00
Dragory
a1a5110c8d Documentation work. Add command info for all Utility plugin commands. 2019-10-25 23:14:21 +03:00
Dragory
1ba49034e2 Docs work 2019-10-25 21:45:18 +03:00
Dragory
ba38d38b75 Apply default overrides *before* custom overrides 2019-10-25 21:44:39 +03:00
Dragory
abb614da0b flag -> isSwitch as per knub-command-manager update (via knub) 2019-10-25 20:28:51 +03:00
Dragory
42b0f9d807 Recommend -option instead of --option
Since knub-command-manager accepts both -option and --option now,
this change should make options more intuitive to use. Both syntaxes
are still supported and neither is getting deprecated for now.
2019-10-25 20:25:25 +03:00
Dragory
a4cd557939 Update to Knub 26.0.0 2019-10-25 20:25:07 +03:00
Dragory
3707d0202d Use 'replaceDefaultOverrides' instead of the deprecated '=overrides' syntax 2019-10-25 20:22:00 +03:00