Project Overview
StashBot is a custom-built support bot for the Quillstash Discord server, designed to enhance community engagement and provide real-time AI-powered assistance. By notifying members of newly published articles, StashBot ensures that all authors receive equal attention, fostering a more connected and interactive community.
Additionally, the integration of Google’s Gemini AI brings cutting-edge conversational capabilities directly into the server, offering members quick, AI-driven support and interaction.
Objectives
- Boost Community Engagement: Notify members about new articles to drive conversations and readership.
- Foster Inclusivity: Ensure every author’s work is equally highlighted to promote a supportive environment.
- Enhance User Experience: Provide real-time AI assistance through integrated Gemini-powered slash commands.
A notification from StashBot about a published article
Features
- Real-Time Notifications: Alerts members about new content published on Quillstash, driving immediate interaction.
- AI-Powered Chat Commands: Includes commands like
/prompt
, enabling members to chat with Google’s Gemini AI for creative ideas or assistance. - Seamless Integration: StashBot operates smoothly within the Discord ecosystem, blending utility and accessibility.
StashBot's reply to my prompt about Rust
Technology Stack
- Hono: Lightweight Node.js framework for backend logic and API routing.
- Discord.js: Simplifies interaction with the Discord API for bot development.
- Google’s Gemini: Powers conversational AI and text generation capabilities.
- TypeScript: Ensures type safety and improved code maintainability.
Challenges & Learning
Developing StashBot taught me:
- API Integration: Working with Discord’s API and Google’s Gemini API improved my skills in handling third-party service integrations.
- Real-Time Systems: Building notification systems required efficient logic for real-time updates and alerts.
- Community Engagement Design: Crafting features that actively promote inclusivity and collaboration improved my understanding of user-centric design.
Future Plans
To further enhance StashBot’s functionality, I plan to:
- Introduce Writer Leaderboards: Track published posts per writer and recognize active contributors.
- Implement Rewards Systems: Celebrate milestones with fun announcements, badges, or special roles within the server.
- Expand AI Capabilities: Add more conversational features powered by Gemini to make StashBot a creative partner for writers.
- Optimize Performance: Implement rate limiting and caching mechanisms to ensure smooth operation and prevent API spamming.