Closed SalbugVR closed 2 weeks ago
Very possible to do with a regex that scans the post body or the json api response to allow for images as a filter as well, but for something like this I won't worry about polishing it too much as it's for advanced users.
We'll see how engagement here goes before I spend time implementing this. You're more than welcome to create a pull request to implement this as well if you want.
You're more than welcome to create a pull request to implement this as well if you want.
I definitely would if I could but I'm much more of a UX / ideas person then I am a programmer. ^^;
You're more than welcome to create a pull request to implement this as well if you want.
I definitely would if I could but I'm much more of an ideas person then I am a programmer. ^^;
Hey that's totally fine, that's why I'm here! I'm getting started on it soon, I'd expect it to be in local testing by the weekend and pushed next week.
Added regex blacklist in commit #aaef7c9, Skycord version 1.3.6.
I opted for a regex solution because it's much more versatile than just tags or keywords. The user can set their own filter including arguments such as /i
and /g
when they reconnect.
Currently, the bot automatically embeds any post to a channel, regardless of context. Implementing a system that filters posts based on keywords or hashtags would be a helpful addition for cases where certain posts should not be auto-posted.