The DuoAlly AI Chatbot is an interactive rule-based chatbot assistant designed to help players in league of legends improve their gameplay by providing detailed information about champions, including:
- Abilities and combos
- Recommended item builds
- Rune setups
- Matchups and counters
- Role-specific tips
With fuzzy matching for champion names and a contextual response system, this chatbot ensures a smooth user experience.
- Contextual Understanding: Remembers the last mentioned champion for fluid conversations.
- Detailed Champion Insights: Provides specific advice for items, runes, abilities, and more.
- Interactive User Experience: Simulates a "typing effect" for responses, making it feel more engaging.
- Fuzzy Name Matching: Recognizes champion names even with slight typos.
-
Clone the repository:
git clone https://github.com/DuoAlly/LoL-Chatbot.git cd LoL-Chatbot
-
Install dependencies (if required):
pip install -r requirements.txt
(No additional dependencies needed for the base code as it uses Python's standard library.)
-
Run the chatbot:
python chatbot.py
-
Start the chatbot:
python chatbot.py
-
Use these commands for specific information:
- Abilities:
What are Ahri's abilities?
- Items:
Recommended items for Ahri
- Runes:
What runes should I take on Ahri?
- Matchups:
Who is Ahri strong against?
- Tips:
Tips for Ahri
- Abilities:
-
Exit the chatbot anytime by typing:
exit
╔══════════════════════════════════════════════╗
║ Enhanced LoL Expert Bot v2.0 ║
╚══════════════════════════════════════════════╝
Ask me about any champion's:
• Abilities and combos
• Item builds
• Rune setups
• Matchups and counters
• Role-specific tips
Type 'help' for commands or 'exit' to quit.
[12:30:45] You: Tell me about Ahri
[12:30:45] Bot:
Champion Overview - Ahri:
Role: Mid-lane Mage/Assassin
Tips: Ahri excels at poking and kiting. Use your Orb of Deception to poke, and Charm to catch enemies off-guard.
You can ask about Ahri's abilities, items, runes, or matchups!
[12:31:15] You: What are her abilities?
[12:31:15] Bot:
Abilities for Ahri:
Passive: Essence Theft - Gains stacks of Essence Theft when hitting enemy champions with abilities
Q: Orb of Deception - Sends out and pulls back an orb, dealing magic damage
W: Fox-Fire - Releases fox-fires that target nearby enemies
E: Charm - Blows a kiss that damages and charms an enemy
R: Spirit Rush - Dashes and fires essence bolts at nearby enemies
- Fork the repository
- Create a feature branch:
git checkout -b feature-name
- Commit your changes:
git commit -m "Add feature"
- Push to the branch:
git push origin feature-name
- Open a Pull Request
This project is licensed under the MIT License.
- Riot Games for creating League of Legends