Welcome to the #1 Free Discord AI Chatbot powered by ShuttleAI. This bot brings advanced AI capabilities right into your Discord server.
Important
Join our Discord server for support: discord.gg/shuttleai
/setup
: Run /setup in any channel. Any message sent in that channel will be processed by ShuttleAI./remove
: ?️ Run /remove in the channel you want to remove ShuttleAI from processing messages in./reset
: Run /reset to reset your conversation history with ShuttleAI./imagine
: ? Run /imagine to generate an image. Choose between many models./settings
: Run /settings to configure the bot's personality, tts, and model./personality
: ? Run /personality to set a custom personality. This command is only available for ShuttleAI Premium users.Tip
Follow these steps to quickly set up ShuttleAI.
Clone this repository using the following command:
git clone https://github.com/shuttleai/shuttleai-discord
Then, navigate into the cloned repository:
cd shuttleai-discord
After signing up, navigate to shuttleai.app/keys to get your API key. You'll enter this key in the .env
file:
SHUTTLEAI_API_KEY='your-api-key-here'
You'll need a MongoDB database for the bot to store data. If you don't have one, you can create a free one at MongoDB Atlas.
Go to the Discord Developer Portal, create a new application and get your bot token.
Rename the .env.example
file to .env
. Fill out the environment variables in the .env
file:
SHUTTLEAI_API_KEY='' # Your ShuttleAI API Key
DISCORD_BOT_TOKEN='' # Your Discord Bot Token
STREAM_URL='' # Stream URL, e.g. https://www.twitch.tv/username
STREAM_NAME='' # Stream Name, e.g. /imagine
MONGO_URI='' # Your MongoDB URI, e.g. mongodb://localhost:27017
Run the following command to install the necessary Python packages:
pip install -r requirements.txt
Run the following command to start your bot:
python main.py
If you encounter any issues or need further assistance, create an issue in this repository. We're here to help!
Enjoy your new AI-powered Discord bot!