cbrxyz / pi-bot

🤖 Scioly.org's resident bot
9 stars 5 forks source link

Filter out inappropriate XKCD comics from being sent through !xkcd #300

Open cbrxyz opened 3 years ago

Nydauron commented 3 years ago

This is a bit tricky since the metadata doesn't have any info on how "safe for work" it is. The alternative is to do a censor check on the transcript and title. If it finds a match, we don't display it, and 1) either reroll if the function call was random, 2) respond saying the comic/latest comic given is too inappropriate. Any better ideas to try to achieve this?