A bot that will help you find lego sets directly in discord chat
This bot automates the search and speeds it up. Using one command, you can request several Lego sets at once directly in the discord chat.
-
search - show all found sets by request
There are arrows for scrolling:
The page button helps you enter the desired page:
There is also a sorting option:
-
random - get random set
It is possible to choose the theme of the set:
-
favourites - show my favourite sets
Same control buttons as in the
searchcommand. -
add_favourite - mark a set as a favourite
Rebrickable provides a number of API/Web Services to assist developers build their own websites or apps which use the Rebrickable database.
How to run a bot locally on your computer
git clone https://github.com/AndyLocks/LegoTehSet-
Rename
.env.exampleto.env -
Write a discord bot token in the
TOKENcolumnExample:
TOKEN=asSkDSfjwDebt.AbobAkdkjdOnbwdslkfjwelkhfgnkoAJSsdDasdWdHKPjsdkfhn.LKDSJlksdflkjDFlksdjf -
Write a Rebrickable api token in the
REBRICKABLE_API_KEYcolumn
Here you can read how to install Docker compose.
Here you can read how to install Docker engine.
docker compose up --buildThe basic microservice. Manages the bot logic, located in the . folder.
Profile microservice. Saves users' favorite sets and adds new ones. Located in the profile_hub folder.










