ayunami2000 / ayunpictojava

PictoChat web app with a server written in Java!
https://pict.chat
139 stars 14 forks source link

Adding command framework and using it to add !block/!ignore #5

Closed yeetilicious closed 8 months ago

yeetilicious commented 8 months ago

I added a command framework that makes it easier to add new commands (by editing the handleCommand method), and used it to add a !block/!ignore command that lets you block people. When you block someone, you can't see their messages at all, and your messages are redacted for them (the content is replaced with "[This user has blocked you.]"). While in theory redaction could be bypassed by looking at the discord bridge, many of the kinds of people you want to block don't have the presence of mind to think of that, so it's still useful.

yeetilicious commented 8 months ago

nevermind ayunami made their own version

yeetilicious commented 8 months ago

nevermind apparently ayunami has a plan on how to merge it anyway