Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amanbairagi30/pinbot
A Discord bot that lets you chat with pinned messages using context from pins, built for the PeerList Dec Hackathon.
https://github.com/amanbairagi30/pinbot
discordjs gemini-api nodejs pineconedb typescript
Last synced: 6 days ago
JSON representation
A Discord bot that lets you chat with pinned messages using context from pins, built for the PeerList Dec Hackathon.
- Host: GitHub
- URL: https://github.com/amanbairagi30/pinbot
- Owner: amanbairagi30
- Created: 2024-12-20T17:02:58.000Z (14 days ago)
- Default Branch: master
- Last Pushed: 2024-12-27T18:05:08.000Z (7 days ago)
- Last Synced: 2024-12-27T19:18:26.652Z (7 days ago)
- Topics: discordjs, gemini-api, nodejs, pineconedb, typescript
- Language: TypeScript
- Homepage: https://www.youtube.com/watch?v=4TLyhzNAz5A
- Size: 19.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PinBot 🤖
[![Discord](https://img.shields.io/badge/Discord-Community-7289DA)](https://discord.gg/)
### Demo Video : https://www.youtube.com/watch?v=4TLyhzNAz5AA smart Discord bot designed to streamline resource sharing in any discord communities. Never let valuable pinned resources go unnoticed again!
## 🌟 Features
- **Smart Resource Detection**: Automatically responds to queries about learning materials
- **Natural Language Understanding**: Comprehends questions asked in various ways
- **Pin Integration**: Syncs with Discord channel pins for up-to-date information
- **Easy Resource Access**: Simple commands to retrieve organized learning materials
- **Moderator Tools**: Special commands for content management like `export`## 🚀 Quick Start
## 💡 Usage Examples
1. **Invite the bot to your server**
```
[Soon add the link ove here]
```2. **Basic Commands**
```
/ping [input] - Check the availabilty of the BOT
/export - Export the vector embeddings of Pins to vector DB (in this case Pinecone)
/chat-with-pin - Chat with the pins of the particular channel (prerequisite -> /export)
/ask - Talk to Gemini 1.5 flash (without any context)```
## 🛠️ Technical Architecture
- Built with Discord.js
- Used RAG model for context awareness
- VectorDB for embeddings storage## 📊 Project Structure
```
resource-bot/
├── src/
│ ├── db/
│ └── utils/
```## 🤝 Contributing
We welcome contributions! Please follow these steps:
1. Fork the repository
2. Create a feature branch (`git checkout -b feature/AmazingFeature`)
3. Commit changes (`git commit -m 'Add AmazingFeature'`)
4. Push to branch (`git push origin feature/AmazingFeature`)
5. Open a Pull Request## 🙏 Acknowledgments
- Discord.js team for the amazing library
## 📞 Support
Join our [Discord community](https://discord.gg/) for support, feature requests, and discussions.
---
Made with ❤️ by Aman Kumar Bairagi [https://x.com/AMANBAIRAGI_30]