discord bot which has AI chat features such as chatgpt, and connects to the internet to access deeper information
- Clone the repository
- Install the requirements using
npm install axios dotenv googleapis discord.js openai
- Create a
.env
file and add the following which you can get from the OpenAI API:
OPENAI_API_KEY=your-api-key
DISCORD_TOKEN=your-discord-token
BRAVE_KEY=your-brave-token
GOOGLE_API_KEY=your-google-token
- Run the bot using
node main.js
- Enjoy!
The bot has a few commands which you can use to interact with it:
zra/ezra <message>
: Chat with the AI!google <query>
: Search a web using Google!image <query>
: Search image using Brave
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.