Syncleus / starfleet-bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Federation Bot

This is a work in progress.

DISCLAIMER : Running a Federation Bot might not be a good thing. Some instances admins consider that inappropriate. Please, be kind and mute their instance with the bot account so the bot won't follow their users.

This is a Federation Bot working with the Mastodon API.

This bot listens on the Federated Timeline and follows everyone. It also listen reblogs.

This bot respect the #nobot tag.

If you don't want to be followed by the bot anymore, just DM "unfollow" to the bot, and it'll never follow you again.

Commands

  • unfollow : The bot will unfollow and mure you so it'll never follow you again.
  • muteuser user@domain.tld : The bot will mute the targeted user. Admin only.
  • blockdomain domain.tld : The bot will mute the targeted domain. Admin only.

Running the bot

git clone http://git.cant.at/Tagada/FederationBot.git
cd FederationBot/
npm install
cp config.json.example config.json
vi config.json

Edit the config.json.

node index.js

About

License:GNU Affero General Public License v3.0


Languages

Language:JavaScript 100.0%