This is a little bot to extend ShapeBot basic features (role management) with commands intended for the end user.
Requirements: Node.js, Yarnpkg. Depending on your operating system, a C/C++ compiler may be required.
- Clone the repository.
- Install dependencies by running
yarn
. - Copy and adjust the configuration file (
config.json
). - Finally, run the bot:
node .
.
sbe:compress
: Compress a JSON data into shapez.io savegame format.sbe:decompress
: Decode and decompress shapez.io savegame into human-readable JSON.sbe:puzzle <key>
: Display a puzzle using the short key.sbe:reports <key/username>
: View reports for a puzzle or by username.sbe:puzzlesearch [search terms]
: Search the puzzle collection.
token
: Discord bot token, required to login.apiToken
: Token for shapez.io API, required to access puzzles.puzzleWatchlist
: List of channel IDs to automatically run sbe:puzzle in.viewerAccessRoles
: List of role IDs permitted to use shape viewer.
Licensed under GNU General Public License, Version 3. Assets are taken from the shapez.io GitHub repository.