Skip to content

EVE-KILL/Sara

Repository files navigation

Sara Discord Bot

Sara is a Discord bot with a variety of features, including AI integration, weather, news, and more.

Features

  • AI chat and coding (OpenAI)
  • Weather and news commands
  • Currency conversion
  • Instagram, TikTok, and Reddit integrations
  • Voice and image features

Prerequisites

  • Bun (JavaScript runtime)
  • A Discord account and server (to add your bot)

Getting Started

1. Clone the Repository

git clone https://github.com/EVE-KILL/Sara
cd sara

2. Install Dependencies

bun install

3. Configure API Keys

Copy the example config to a new file:

cp config.example.ts config.ts

Edit 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.

4. Run the Bot

bun run bot.ts

Notes

  • Make sure your config.ts is 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.md and TOOLS.md.

Troubleshooting

License

MIT

About

A bot for Discord

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages