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.
- 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
Click the link below to add Tech GF to your Discord server:
| 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 |
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
- Language Model: Mistral-7B-Instruct-v0.2
- Framework: discord.py
- Optimization: BitsAndBytes 4-bit quantization
- Hosting: GPU-accelerated cloud instance
- Clone the repository:
git clone https://github.com/AjayVasan/Discord_Bot.git
cd Discord_Bot- Install dependencies:
pip install discord.py transformers torch huggingface_hub nest_asyncio accelerate bitsandbytes-
Set up your environment:
- Create a Discord bot and get your token from Discord Developer Portal
- Get a Hugging Face token from Hugging Face
-
Run the bot:
python bot.pyYou can customize the bot's personality by modifying:
SYSTEM_PROMPTin the code to change the core personalityMEMES_AND_JOKESlist to add custom meme referencesQUICK_RESPONSESdictionary for custom replies to common messages
- Python 3.8+
- CUDA-compatible GPU (recommended for optimal performance)
- 8GB+ RAM
- 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
- Mistral AI for the base language model
- Hugging Face for model hosting
- The Discord.py team
Contributions are welcome! Feel free to submit a pull request or open an issue on GitHub.
This project is licensed under the MIT License - see the LICENSE file for details.