I created this Discord bot as a fun project while I was bored. Feel free to use it for your own purposes!
showcase.mp4
Credits would be appreciated but not required.
For detailed documentation on how to use the Roblox Script Python Discord Bot, please refer to the official documentation.
The code runs every .py file inside the scripts directory. Why? Because its easier to extract the data from it, but that raises some security concerns.
DO IN ANY CIRCUMSTANCES PUT A .py FILE THAT YOU DON'T KNOW WHAT IT DOES INSIDE THE SCRIPTS DIRECTORY.
To install and set up the bot, follow these steps:
- Clone the repository by running the following command in the command line:
git clone https://github.com/notpoiu/RobloxScriptPyBot - Navigate to the cloned directory using the command prompt:
cd RobloxScriptPyBot - Install the required dependencies by running:
pip install -r requirements.txt
To set up the bot and make it work with your Discord server, follow these steps:
- Go to the Discord Developer Portal and create a new bot.
- Copy the token for your bot.
- Open the
config.jsonfile in the project and locate the"Token"value under the"Bot Info"section. - Replace the existing token value with the token you copied in the previous step.
Next, we need to enable intents for the bot to work properly:
- Scroll down on the Discord Developer Portal page until you find the "Privileged Gateway Intents" section.
- Enable all the intents by checking the corresponding checkboxes. (You don't need to enable every single one, but it's recommended for the bot's functionality.)
That's it! You have successfully set up the bot. Now you can run it and start using the Roblox Script Python Discord Bot in your server.