https://github.com/sato-isolated/league-discord-bot
A SlashCommand Bot Discord to show the details of a league of legends game using Camille API
https://github.com/sato-isolated/league-discord-bot
aram camille-api discord-bot discordnet excel league league-api league-of-legends leagueoflegends
Last synced: 3 months ago
JSON representation
A SlashCommand Bot Discord to show the details of a league of legends game using Camille API
- Host: GitHub
- URL: https://github.com/sato-isolated/league-discord-bot
- Owner: Sato-Isolated
- License: mit
- Created: 2022-09-19T20:45:44.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-01T11:11:10.000Z (over 1 year ago)
- Last Synced: 2025-04-11T21:44:23.181Z (6 months ago)
- Topics: aram, camille-api, discord-bot, discordnet, excel, league, league-api, league-of-legends, leagueoflegends
- Language: C#
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/MingweiSamuel/Camille) and [Discord.NET](https://github.com/discord-net/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.
### Stalk Game
- **Command:** `/stalk username`
Provides details about the current game of a specified user.
### 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.

## 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`](https://github.com/Sato-Isolated/League-Discord-Bot/blob/e8791864190a44c1f834a06cb900f42eeb0f52c5/Program.cs#L76).
2. **Server ID:** Insert your server ID in [`InteractionHandler.cs`](https://github.com/Sato-Isolated/League-Discord-Bot/blob/e8791864190a44c1f834a06cb900f42eeb0f52c5/InteractionHandler.cs#L43).
3. **Discord Webhook:** Set your webhook in [`LeagueMethod.cs`](https://github.com/Sato-Isolated/League-Discord-Bot/blob/e8791864190a44c1f834a06cb900f42eeb0f52c5/Modules/LeagueMethod.cs#L13).
4. **Riot API Key:** Place your Riot API key in [`LeagueCommand.cs`](https://github.com/Sato-Isolated/League-Discord-Bot/blob/e8791864190a44c1f834a06cb900f42eeb0f52c5/Modules/LeagueCommand.cs#L61).## 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.