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.
You can invite the public version of the bot in its page: massmover.github.io.
The current prefix for calling the bot is >
.
The possible commands are:
> help
-> prints general help message
> move
-> prints move command help and all channels visible to the bot
> move destination
-> moves users from your current channel to the destination channel.
Example : > move chat_y
, or > move 2
> move origin destination
-> moves users from the origin channel to the destination channel
Example : > move chat_x chat_y
, or > move 1 2
> summon
-> prints summon command help and all channels visible to the bot
> lang
-> prints language configuration help message
> lang option
-> changes the bot language to a specific language.
Example: > lang EN
or > lang 1
will set the English language.
The current options are:
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.
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.
go get -u github.com/auyer/massmoverbot
Build using
go build .
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