Skip to content

The MassMoverBot uses multiple "PowerUp" Bot connections to perform fast "Move" operations with large amounts of users.

License

Notifications You must be signed in to change notification settings

auyer/MassMoverBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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:

    • 1 or EN for English
    • 2 or PT or BR for Portuguese
    • 3 or ES for Spanish
    • 4 or FR for French

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

About

The MassMoverBot uses multiple "PowerUp" Bot connections to perform fast "Move" operations with large amounts of users.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages