auyer / MassMoverBot

The MassMoverBot uses multiple "PowerUp" Bot connections to perform fast "Move" operations with large amounts of users.
https://massmover.github.io
MIT License
6 stars 4 forks source link
discord discord-bot

MassMover Discord bot

GoDoc Go Report Card LICENSE MIT

The MassMover bot is a Multi-Token Discord Bot. This can be used to split intensive operations, or API limited opperations like the "User Voice Channel Move" opperations.

It is capable of using N "PowerUp" Bot connections to perform fast mass "User Move" operations, and the request will be executed by the amount of bots connected to the server.

GIF: moving 28 user with 2 "powerups"

Usage

You can invite the public version of the bot in its page: massmover.github.io.

- > Invite the Bot

The current prefix for calling the bot is >. The possible commands are:

Configuration

Get your Discord Bot tokens (at least one) in the official developers portal

The first one should be in the "MoverBotToken" slot in the config file. The rest will be the powerup Tokens, and should be added in a List.

The Permission integer for the commander must be 16780288 (Move, Read messages, and Write messages) While the Powerups can be 16777216 since they dont send any messages, but having the same 16780288 wont hurt. The bot also needs access to the Server Members Intent, so add it in the Bot menu.

Installation

You can get the lastest binary here.

Unzip it, and create a configuration file in the same directory, or point to it when executing with the -config flag.

Building Yourself

go get -u github.com/auyer/massmoverbot

Build using

go build .

Changing and building the messages

All messages are stored in public/messages.yaml file, and loaded by the Statik pre compilation. To build the messages, it is necessary to get the statik package, and run the command in the root if the commanderBot repository.

go get github.com/rakyll/statik
statik

License

FOSSA Status