matrix-stfu

1.0.0 • Public • Published

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. npm install
  2. cp ./config.example.js ./config.js
  3. 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).
  4. 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'

Readme

Keywords

none

Package Sidebar

Install

npm i matrix-stfu

Weekly Downloads

0

Version

1.0.0

License

LGPL-2.0+

Unpacked Size

38 kB

Total Files

6

Last publish

Collaborators

  • cjd