Skip to content

STFU - the Spam / Trolling Filtration Utility for matrix

Notifications You must be signed in to change notification settings

xwiki-labs/matrix-stfu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix STFU

Spam / Trolling Filtration Utility

the title says it all

Mass remove everything which was said by a particular user in a particular room.

How to use

  1. cp ./config.example.js ./config.js
  2. Edit config.js to make it use your username and access token, you can also change how far into history STFU will search (number of events).
  3. node ./stfu.js <matrix_room_name> <matrix_handle>

For example, in case cjd is saying silly stuff in the Matrix HQ room, and you're an admin there, you can delete all of it.

node ./stfu.js '#matrix:matrix.org' '@cjd:matrix.org'

About

STFU - the Spam / Trolling Filtration Utility for matrix

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published