Purge messages not including the given text.


@Nyaru purge [count] not <search arguments>


  • Purge messages NOT containing text Lumi is my bestie in last 20 messages

@Nyaru purge 20 not Lumi is my bestie

The above example will fetch last 20 messages in the channel and check if the message content or message text does not contains your search arguments, i.e., Lumi is my bestie, filter them and then purges it.

Search arguments are case sensitive! This means Lumi is my bestie is NOT same as LUMI is MY bestie. Learn more about case senstivity here.

Take a look at the other example,

  • Purge all messages not containing text Meowryy dumbo

@Nyaru purge not Meowryy dumbo

If you don't provide count, bot will index last 100 messages and filter them by default.

As of the above example, bot will search the text Meowryy dumbo in last 100 messages of the channel and filter them with all other messages, so they are saved and rest all is purged.

Last updated