Studly Bot is a Discord bot that provides various commands to convert lengths into LEGO studs, plates, and bricks at different scales.
Get the number of studs in length at 1:38, 1:42, and 1:48 scale.
- Parameters:
length(int): The length to convert.unit(str): The unit of the length, either 'feet' or 'meters'.
Get the number of plates tall at 1:38, 1:42, and 1:48 scale.
- Parameters:
length(int): The length to convert.unit(str): The unit of the length, either 'feet' or 'meters'.
Get the number of bricks tall at 1:38, 1:42, and 1:48 scale.
- Parameters:
length(int): The length to convert.unit(str): The unit of the length, either 'feet' or 'meters'.
Get the number of bricks and plates tall at 1:38, 1:42, and 1:48 scales.
- Parameters:
length(int): The length to convert.unit(str): The unit of the length, either 'feet' or 'meters'.
Display Studly Bot's commands.
- Parameters:
command(str, optional): The specific command to get help for. If not provided, lists all commands.
To add the bot to your Discord server, follow these steps:
-
Clone the repository:
git clone /home/aronwk/Documents/git/studly-bot/studly-bot
-
Install the required dependencies:
pip install -r requirements.txt
-
Create a
.envfile in the root directory and add your Discord bot token:DISCORD_TOKEN=your_discord_bot_token
-
Run the bot:
python bot.py
Feel free to submit issues or pull requests if you have any improvements or bug fixes.