How to Install
How to install Stratis Bot
Pterodactyl Install
- Make sure that you have either created a server or you have been provisioned a server by your hosting provider.
- Upload the bot into your server container.
- Install the packages in the requirements.txt
- Edit the config.py.
- Edit the information variable
- Set the 'token' key to be that of a Discord bot in your server.
- Set the 'guild' key to be the ID of your guild.
- Set the 'name' key to be the name that should appear on the bot.
- Set the 'logo' key to be the URL of an image that should appear in embeds.
- Set the 'timezone' key to be a Python datetime value for a specific location (default is EST).
- Set the 'color' key to be RGB values for the color of the bot.
- Edit the modules variable
- Start the container and your bot should work! The bot uses slash commands.
Linux/Windows Install
- Make sure that you have Python 3.11 installed on your OS. If you're on Linux, check this link for downloading Python 3.11. If you're on Windows, go here.
- Make sure to install PyCord. Follow their documentation for installing the development version. This can be done by following their guide here.
- After installing PyCord, extract the bot into a folder where you can access it.
- After extracting the folder, you need to edit the config.py.
- Edit the information variable
- Set the 'token' key to be that of a Discord bot in your server.
- Set the 'guild' key to be the ID of your guild.
- Set the 'name' key to be the name that should appear on the bot.
- Set the 'logo' key to be the URL of an image that should appear in embeds.
- Set the 'timezone' key to be a Python datetime value for a specific location (default is EST).
- Set the 'color' key to be RGB values for the color of the bot.
- Edit the modules variable
- After editing the config.py, open up your command prompt and navigate to the folder with the bot inside of it and run the following command: 'pip install -r requirements.txt'.
- After running this command, you can start the bot with the following command: 'py main.py'