Skip to content

A SlashCommand Bot Discord to show the details of a league of legends game using Camille API

License

Notifications You must be signed in to change notification settings

Sato-Isolated/League-Discord-Bot

Repository files navigation

League-Discord-Bot

About

League-Discord-Bot is a SlashCommand Bot for Discord that provides detailed information about League of Legends games. It utilizes the Camille API and Discord.NET.

The project is a work-in-progress. Contributions and improvements are welcome! Feel free to submit a pull request (PR) or create an issue with any ideas or feature requests.

Features

Ranked Stats

  • Command: /rank username

    Displays the ranked stats of a specified user.

    Ranked Stats

Stalk Game

  • Command: /stalk username

    Provides details about the current game of a specified user.

    Stalk Game

Make Excel

  • Command: /makeexcel (username) BIPBIP (tagline) euw or 12453

    Generates an Excel file with game details. The tagline is the part after the # in your username.

    Excel Command Excel Example 1 Excel Example 2

Setup

To set up the bot, you need to configure several keys and IDs in the code:

  1. Discord Bot Token: Add your bot's token in Program.cs.
  2. Server ID: Insert your server ID in InteractionHandler.cs.
  3. Discord Webhook: Set your webhook in LeagueMethod.cs.
  4. Riot API Key: Place your Riot API key in LeagueCommand.cs.

Contribution

If you want to contribute to this project, follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a pull request.

About

A SlashCommand Bot Discord to show the details of a league of legends game using Camille API

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages