Skip to content

01Dri/ML-LeagueOfLegendsBOT

Repository files navigation

MelLoverBot - League of Legends Discord BOT 🤖

MelLoverBot Icon

Add MelLoverBot to Your Server

About the Project ℹ️

IMPORTANT: THE PROJECT IS IN BETA PHASE!

MelLoverBOT is a Discord bot that provides information about League of Legends accounts.

Updates

  • Now the commands should be to use with Slash Commands. Examples
  • Now the EMBED image of !accountlol shows the account's MAIN (champion with the highest mastery). Examples

Main Features 🚀

  • Command !accountlol-<queue> <nick> ⚙️
    • Details: This command allows users to view information about a League of Legends account for either SOLO or FLEX QUEUE. Replace <queue> with either "SOLO" or "FLEX" and <nick> with the desired nickname.
      • Example of solo queue: Example of LOL Account
      • Example of flex queue:
  • Command !accountlol-<queue> <nick> -save ⚙️
    • Details: This command saves the account information to the database, allowing users to later use the !accountlol command to display all information about their League of Legends account.
  • Command !accountlol -tips ⚙️
    • Details: Use this command to receive tips about your League of Legends account, generated by GPT. Example

Technologies Used 📋

  • Python
  • Discord.py: Python library for Discord API
  • Python-dotenv: Python module that allows you to specify environment variables in a .env file
  • Requests: Python library for making HTTP requests
  • OpenAI - API

How to Use - User

To use MelLoverBot, follow these steps:

  1. Add MelLoverBot to Your Discord Server:
    • Click on this link to add MelLoverBot to your server.
  2. Using Commands:
    • After adding the bot to your server, you can start using the commands listed below:
      • !accountlol-<queue> <nick>: This command allows you to view information about a League of Legends account. Replace <queue> with either "SOLO" or "FLEX" and <nick> with the desired nickname.
      • !accountlol-<queue> <nick> -save: Use this command to save the account information to the database. Once saved, you can use the command !accountlol to display all information about your League of Legends account.
      • !accountlol -tips: This command provides tips about your League of Legends account, generated by GPT.

How to Use - Developer

To use MelLoverBot for development purposes, follow these steps:

  1. Set Up Discord Bot:

    • Go to the Discord Developers portal and create a new application.
    • Create a bot for your application and copy the bot token.
    • Place this token in the appropriate location in your code.
  2. Set Up Riot API:

    • Obtain a Riot API token from the Riot Developer Portal.
    • Place this token in your code where necessary to access Riot API data.
  3. Start the Bot:

    • Initiate the bot by running the main.py file.
  4. Optional: Use Docker:

    • If preferred, you can use Docker for deployment.
    • Run docker-compose build and docker-compose up to start the bot using Docker.

Contributions 🤝

Contributions are welcome! Feel free to open issues and send pull requests to improve MelLoverBot.

Developed by Dri 👩‍💻

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published