FoxxMD / context-mod

an event-based, reddit moderation bot built on top of snoowrap and written in typescript
https://contextmod.dev
MIT License
49 stars 11 forks source link

allow filtering web log #39

Open OmgImAlexis opened 2 years ago

OmgImAlexis commented 2 years ago

I'd be great to allow both filtering by a string/regex and enabling the types of messages being output for example.

It'd be nice to enable/disable Reddit API Stats: Initial 582 | Current 582 | Used ~0 | Events ~0.11/s in the web logs. Same for this line Run Stats: Checks 1 | Rules => Total: 1 Unique: 1 Cached: 0 Rolling Avg: ~null/s | Actions 0.

FoxxMD commented 2 years ago

This could be easy if all done client-side but I have a feeling it would be better to fold this into the stuff I described in #41. Perhaps associating logs to an activity/event so it could be filtered by all the types mentioned there as well. Should definitely consider this and event results together...