diff options
author | Rory& <root@rory.gay> | 2024-10-04 19:51:44 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-10-04 19:51:44 +0200 |
commit | c8f7ef7c1d2bd705a5442c0dc591b8e5a50673a5 (patch) | |
tree | 9b951c6e2c120ec370ce8318238aadbdda880a89 /README.MD | |
download | MatrixContentFilter-master.tar.xz |
Diffstat (limited to '')
-rw-r--r-- | README.MD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/README.MD b/README.MD new file mode 100644 index 0000000..5a55778 --- /dev/null +++ b/README.MD @@ -0,0 +1,35 @@ +# Rory&::MatrixContentFilter + +An extensible, proactive Matrix moderation bot + +Note: anything below this line still has to be updated :) + +# Running from source + +```sh +git clone --recursive $REPO +cd ModerationClient/ModerationClient +dotnet run --property WarningLevel=0 +``` + +# Contributing + +```sh +# Prepare patch set +mkdir patches +git format-patch --output-directory "./patches" @{u}.. + +# Send patches +``` + +### Developer utility commands + +Error reporting upon file save: +```sh +inotifywait -rmqe CLOSE_WRITE --include '.*\.cs$' . | while read l; do clear; dotnet build --property WarningLevel=0; done +``` + +Hot rebuild on file save: +```sh +dotnet watch run --no-hot-reload --property WarningLevel=0 +``` |