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.
✋ 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.
- Clone the repository to the current directory
git clone https://github.com/nanduwastaken/Gemini-Chat-Bot.git
- Install all the dependencies
- Using npm
npm install
- Update
config.js
with your own credentials.
module.exports = {
API_KEY: process.env.API_KEY,
TOKEN: process.env.TOKEN,
CHANNEL_ID: '1151451183047770164',
}
- Get the Api Token Here
- Get the Bot Token Here
- Copy the Channel ID
- Start your bot
- Using npm
npm run start