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.
-
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.
To set up the bot, you need to configure several keys and IDs in the code:
- Discord Bot Token: Add your bot's token in
Program.cs
. - Server ID: Insert your server ID in
InteractionHandler.cs
. - Discord Webhook: Set your webhook in
LeagueMethod.cs
. - Riot API Key: Place your Riot API key in
LeagueCommand.cs
.
If you want to contribute to this project, follow these steps:
- Fork the repository.
- Create a new branch (
git checkout -b feature-branch
). - Make your changes.
- Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature-branch
). - Open a pull request.