Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nanduwastaken/gemini-chat-bot
Simple Discord chat bot built using the Gemini Pro Model from Google
https://github.com/nanduwastaken/gemini-chat-bot
ai bot discord discord-js gemini gpt
Last synced: about 1 month ago
JSON representation
Simple Discord chat bot built using the Gemini Pro Model from Google
- Host: GitHub
- URL: https://github.com/nanduwastaken/gemini-chat-bot
- Owner: NanduWasTaken
- Created: 2023-12-21T16:22:47.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-06-26T15:37:34.000Z (8 months ago)
- Last Synced: 2024-06-26T19:10:29.701Z (8 months ago)
- Topics: ai, bot, discord, discord-js, gemini, gpt
- Language: JavaScript
- Homepage: https://replit.com/@NanduWasTaken/Gemini-Discord-Chat-Bot
- Size: 37.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gemini Chat Bot
This is a simple Discord chat bot built using discord.js and the gemini-pro model from Google. This model seems to be destroying chat gpt-4 in every benchmark but don't believe the blue glowing box try it out by yourself.
## How to setup
[![Run on Repl.it](https://repl.it/badge/github/NanduWasTaken/Gemini-Chat-Bot)](https://replit.com/@NanduWasTaken/Gemini-Discord-Chat-Bot?v=1)
>✋ if you are running on replit make sure u set up the secret named 'API_TOKEN' & 'TOKEN'. AND ALSO PUT THE CHANNEL ID IN THE 'config.js' FILE.
1. Clone the repository to the current directory
```powershell
git clone https://github.com/nanduwastaken/Gemini-Chat-Bot.git
```2. Install all the dependencies
- Using npm
```powershell
npm install
```3. Update `config.js` with your own credentials.
```js
module.exports = {
API_KEY: process.env.API_KEY,
TOKEN: process.env.TOKEN,
CHANNEL_ID: '1151451183047770164',
}
```
- Get the [Api Token Here](https://makersuite.google.com/app/apikey)
- Get the [Bot Token Here](https://discord.com/developers/applications)
- Copy the [Channel ID](https://discord.com/app)4. Start your bot
- Using npm
```powershell
npm run start
```