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

Add isUserProfile flag to SubredditState #56

Closed FoxxMD closed 2 years ago

FoxxMD commented 2 years ago

Currently can test if a subreddit is a user profile by using name: "/_u.+/i" regex since all user profiles are prefixed by u_ but this is unwieldy and normal users shouldn't need to use regex to do this.

Add a flag that converts to this regex if true as a convenience.