Sign inSign up

pekno/lolgamblebot

By pekno

•Updated over 1 year ago

League of Legends Gamble Bot is a Discord bot that lets users track Summoners and bet on their games

Image
Web servers
0

1.9K

pekno/lolgamblebot repository overview

⁠Logo League of Legends Gamble Bot

⁠Description

League of Legends Gamble Bot is a Discord bot that lets users track Summoners and bet virtual tokens on their game outcomes. Compete with other users to become the richest player on your server by correctly predicting the results of matches.

⁠Features

  • Track League of Legends Summoners from different regions.
  • Bet virtual tokens on the outcome of games involving tracked Summoners.
  • Receive notifications when a tracked Summoner enters a game.
  • A 3-minute betting window before each tracked game starts.
  • Automated messages to notify users of the game result and their betting outcome.
  • View the current scoreboard of the richest players on the server.

⁠Commands

Below is a table of commands available for the Discord Betting Game Bot:

CommandDescriptionParametersUsageExample
/startTell the bot to start and notify in this channel.None/start/start
/stopTell the bot to stop sending notifications.None/stop/stop
/addAdd a new Summoner to track.- summoner_region (required): Region of the Summoner (e.g., NA, EUW).
- summoner_name (required): Name of the Summoner (e.g., AAAAA#BBB).
/add summoner_region:<region> summoner_name:<summoner_name>/add summoner_region:NA summoner_name:Summoner123
/removeRemove a Summoner from the tracking list.- summoner_region (required): Region of the Summoner.
- summoner_name (required): Name of the Summoner.
/remove summoner_region:<region> summoner_name:<summoner_name>/remove summoner_region:EUW summoner_name:Summoner123
/listGet the list of Summoners currently being tracked.None/list/list
/scoreboardView the current scoreboard of the richest players.None

⁠Setup

To configure LoL Gamble Bot, you need to set the following environment variables:

VariableDescription
LOCALEThe ISO 639 language⁠ code of bot default language.
DISCORD_IDYour Discord Bot ID
DISCORD_TOKENYour Discord Bot Token
RIOT_API_KEYYour Riot API key
RIOT_API_LIMIT_BY_MINUTES(Optional, Default 100) Defines the number of Riot API call can be made per minutes
CHECK_INTERVAL(Optional, Default 60) Defines the number of seconds between summoner status check
TIME_BEFORE_BET_LOCK(Optional, Default 180) Defines the time in seconds before locking bet after game start
START_AMOUNT(Optional, Default 100) Defines the amount of token the player will start with
CURRENCY(Optional, Default 🪙) Defines the name/icon of the virtual token
SAVED_DATA_PATH(Optional, Default ./data) Defines the path where all data will be stored on the server
LOG_LEVEL(Optional, Default warning) Defines the logging level of the Bot
⁠Example Docker Run Command
# Example using Docker
docker run -e DISCORD_ID=<your_discord_bot_id> -e DISCORD_TOKEN=<your_discord_bot_token> -e RIOT_API_KEY=<your_riot_api_key> pekno/lolgamblebot

Replace <your_discord_id>, <your_discord_token>, <your_riot_api_key> with your actual credentials.

LoL Gamble Bot will now be deployed and ready to join your Discord server.

Tag summary

Content type

Image

Digest

sha256:309625010…

Size

420.1 MB

Last updated

over 1 year ago

docker pull pekno/lolgamblebot