jh220de / ccbot

A nice and shiny discord message purger.
https://jh220.de/projects/ccbot
GNU Affero General Public License v3.0
4 stars 1 forks source link

[Feature Request] /filter » Remove all messages containing a specific keyword #14

Closed nsde closed 2 years ago

nsde commented 2 years ago

Requires MCI (Message Content Intent)


/filter

Remove all messages containing a (or one of) certain keyword(s)

Please add this feature @JH220 as it is a way to protect privacy - say I'm in a server where I used to post a lot of messages about a topic I now dislike or which could be traced to my personal information. With this command, it would be possible to delete all messages from a user who doesn't want to share such information.

This can be extremely useful for clearing out messages that contain spam, too!

Arguments

/filter keywords:"hate slurs" mode:"or"
/filter keywords:"google facebook apple" mode:"or" user:@ONLIX channel:#general
/filter keywords:"bastighg good" mode:"and" user:@ONLIX channel:#opinions

The last one was a joke.

JH220 commented 2 years ago

Not possible, because the Message Content Intent will be needed for this in the future.