Starsky Bot is a Discord bot that interacts with the Starsky API to generate documents and images using AI. This bot allows you to create documents based on templates, retrieve account information, and generate images based on prompts.
- Create documents using various templates.
- Generate images using the Starsky AI.
- Retrieve account information from Starsky API.
- Set up your Starsky API key for authentication.
Retrieve information about your Starsky account, including account name, plan name, total words, and used words.
View available templates or create a new document using a selected template. If a template_id
is provided, the bot will guide you through creating a document with the chosen template.
Generate an image using the Starsky AI based on the provided prompt. This command allows you to interactively regenerate images by reacting with 🔄.
Set up your Starsky API key to authenticate with the bot. Follow the prompts to provide your API key.
Display a help message with information about available commands.
- Invite the bot to your Discord server.
- Run the
$setup
command and provide your Starsky API key to authenticate. - Explore available commands to generate documents and images.
- discord.py
- requests
- Ensure that you've obtained your Starsky API key from https://starsky.pro/developers before using the bot.
Before starting the bot, run the install.sh
script to install the required dependencies:
chmod +x install.sh
./install.sh
## Customization
Feel free to modify and customize this code to better suit your requirements. Whether you want to add new features, adjust command behavior, or integrate additional APIs, this code serves as a starting point for your own creative ideas. You're encouraged to make changes, experiment, and adapt the bot to your specific use cases.
## License
This project is licensed under the [MIT License](LICENSE).
---
To run the bot, make sure to insert your Discord bot token at the end of the `bot.py` file:
```python
bot.run('YOUR TOKEN GOES HERE')