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
- 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.
Note: This demo includes many of the LoL chatbot version 1.0's limitations. For version 2.0, please go to https://github.com/DuoAlly/LoL-Chatbot-v2.
LoL-Chatbot.mp4
- 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
- Run 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
╔══════════════════════════════════════════════╗
║ LoL Expert Bot v1.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
This project is licensed under the MIT License.
- Riot Games for creating League of Legends