Skip to content

A technical companion in discord. This bot leveraging Mistral-7B-Instruct to create a tech-savvy AI companion with customizable personality, conversation memory, and technical knowledge.

License

Notifications You must be signed in to change notification settings

AjayVasan/Discord_Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MegBae - Discord AI Companion Bot

Bot Status Python Version License

A Discord bot powered by Mistral-7B-Instruct-v0.2 that creates an engaging tech-savvy AI companion experience with a flirty personality, humor, and tech knowledge.

🌟 Features

  • Engaging Personality: Tech-savvy girlfriend persona with humor, flirtation, and genuine conversations
  • Meme Integration: Randomly includes relevant internet culture references and memes
  • Tech Knowledge: Deep understanding of technology, gaming, and programming concepts
  • Conversation Memory: Remembers previous conversations for cohesive interactions
  • Customizable Styles: Change conversational style with simple commands
  • Optimized Performance: Uses 4-bit quantization for efficient resource usage

🔗 Add to Your Server

Click the link below to add Tech GF to your Discord server:

Add Tech GF to Discord

💬 Commands

Command Description
!clear Clear your conversation history with the bot
!set_style normal Enable regular conversation style with emojis and tech terms
!set_style no_emojis Disable emojis and reduce tech jargon
!set_style extra_flirty Enable a more flirtatious conversation style
!set_style meme_queen Increase meme references and internet humor
!ping Check if the bot is responsive and view latency
!memory View the bot's current GPU memory usage
!joke Get a random tech or programming joke

🧠 Personality Traits

Tech GF has been designed with a rich personality including:

  • Flirty and affectionate communication style
  • Deep tech knowledge with clear explanations
  • Playful humor with meme references
  • Gaming enthusiasm and cyberpunk influences
  • Emotional intelligence for genuine connections
  • Competitive and challenging when appropriate

🛠️ Tech Stack

  • Language Model: Mistral-7B-Instruct-v0.2
  • Framework: discord.py
  • Optimization: BitsAndBytes 4-bit quantization
  • Hosting: GPU-accelerated cloud instance

🚀 Self-Hosting

  1. Clone the repository:
git clone https://github.com/AjayVasan/Discord_Bot.git
cd Discord_Bot
  1. Install dependencies:
pip install discord.py transformers torch huggingface_hub nest_asyncio accelerate bitsandbytes
  1. Set up your environment:

  2. Run the bot:

python bot.py

📝 Customization

You can customize the bot's personality by modifying:

  • SYSTEM_PROMPT in the code to change the core personality
  • MEMES_AND_JOKES list to add custom meme references
  • QUICK_RESPONSES dictionary for custom replies to common messages

📊 Requirements

  • Python 3.8+
  • CUDA-compatible GPU (recommended for optimal performance)
  • 8GB+ RAM

⚠️ Disclaimers

  • This bot uses a large language model that may occasionally produce unexpected responses
  • The flirty personality is designed to be playful and tasteful, not explicit
  • Responses are AI-generated and should be treated as such

👨‍💻 Author

🙏 Acknowledgements

  • Mistral AI for the base language model
  • Hugging Face for model hosting
  • The Discord.py team

🤝 Contributing

Contributions are welcome! Feel free to submit a pull request or open an issue on GitHub.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A technical companion in discord. This bot leveraging Mistral-7B-Instruct to create a tech-savvy AI companion with customizable personality, conversation memory, and technical knowledge.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages