mirror of
https://github.com/ArkLUG/studly-bot.git
synced 2025-12-17 19:25:07 -06:00
main
Studly Bot
Studly Bot is a Discord bot that provides various commands to convert lengths into LEGO studs, plates, and bricks at different scales.
Commands
/studs
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'.
/plates
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'.
/bricks
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'.
/bp
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'.
/help
Display Studly Bot's commands.
- Parameters:
command(str, optional): The specific command to get help for. If not provided, lists all commands.
Setup
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
Contributing
Feel free to submit issues or pull requests if you have any improvements or bug fixes.
Languages
Python
96.7%
Dockerfile
2.9%
Shell
0.4%