View Code? Open in Web Editor
NEW
A Discord bot leveraging Google Gemini. Has image recognition, conversation engagement, and content understanding.
Home Page: https://gemini-discord-bot.vercel.app
License: MIT License
gemini-discord-bot's People
Contributors
gemini-discord-bot's Issues
Is there a way to add a default custom personality? Like even if you restart the bot it will still stay. Inside the code maybe?
I really like this project!
As shown in the pictures, I tried to send a message with a link to the bot, but the bot couldn't read the link correctly, resulting in a long time of no response and no response to new messages. I hope to be able to add a stop button and a command to stop all responses, and I think it would be better if an administrator permission list was added, thank you!
root~# git clone https://github.com/hihumanzone/Gemini-Discord-Bot.git
Cloning into 'Gemini-Discord-Bot'...
remote: Enumerating objects: 713, done.
remote: Counting objects: 100% (346/346), done.
remote: Compressing objects: 100% (165/165), done.
remote: Total 713 (delta 219), reused 280 (delta 181), pack-reused 367
Receiving objects: 100% (713/713), 2.95 MiB | 9.88 MiB/s, done.
Resolving deltas: 100% (403/403), done.
root:# cd Gemini-Discord-Bot/
root:/Gemini-Discord-Bot# npm install dotenv [email protected] discord.js @google/generative-ai fs sharp pdf-parse cheerio youtube-transcript axios eventsource node-os-utils @google/generative-ai/files
npm error code ENOENT
npm error syscall open
npm error path /root/Gemini-Discord-Bot/@google/generative-ai/files/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/root/Gemini-Discord-Bot/@google/generative-ai/files/package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-06-28T08_54_06_758Z-debug-0.log
Here's the log
2024-06-28T08_54_06_758Z-debug-0.log
I get this error when using node index.js or npm start while I still can install package normally (Ubuntu 24.04 LTS)
Node version: v18.20.4
Npm version: 10.7.0
Hi, it looks like the bot generate images.