massmoverbot

command module
v0.0.0-...-f692fd6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2021 License: MIT Imports: 7 Imported by: 0

README

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.

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:

  • > 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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
db
bdb
Package bdb manages data stored about the servers The storage is performed by a Key-Value community database called Badger.
Package bdb manages data stored about the servers The storage is performed by a Key-Value community database called Badger.
Package statik contains static assets.
Package statik contains static assets.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL