Sara is a Discord bot with a variety of features, including AI integration, weather, news, and more.
- AI chat and coding (OpenAI)
- Weather and news commands
- Currency conversion
- Instagram, TikTok, and Reddit integrations
- Voice and image features
- Bun (JavaScript runtime)
- A Discord account and server (to add your bot)
git clone https://github.com/EVE-KILL/Sara
cd sarabun installCopy the example config to a new file:
cp config.example.ts config.tsEdit config.ts and fill in the required API keys and settings:
| Key | Description | Where to get it |
|---|---|---|
token |
Discord Bot Token | Discord Developer Portal |
clientId |
Discord Application Client ID | Discord Developer Portal |
openai_api_key |
OpenAI API Key | OpenAI Platform |
newsapi_api_key |
NewsAPI Key | NewsAPI |
reddit_api_key |
Reddit API Key | Reddit Apps |
reddit_api_secret |
Reddit API Secret | Reddit Apps |
Other options in config.ts can be left as defaults or adjusted as needed.
bun run bot.ts- Make sure your
config.tsis never committed to git (it's already in.gitignore). - The bot uses a local SQLite database (
database.sqlite). - For more info on commands and features, see
TASKS.mdandTOOLS.md.
- If you have issues with Bun, see the Bun documentation.
- For Discord bot setup, see the Discord Developer Portal docs.
MIT