Discord Bot for League of Legends live match tracker

Overview

SABot

Dicord Bot for League of Legends match auto tracker

SABot

Features:

  1. Search Summoners statistics in League of Legends.
  2. Auto-notifications provide when summoner starts a match, and provide information of participations.

Commands:

*General commands
    !help
    !commands

*LOL Search-informations
    !l match 'SummonerName' // live match info

*LOL live-match-tracker
    !l setup
    !l add 'SummonerName'
    !l remove 'SummonerName'
    !l list
    !l start    // start live-match-tracker
    !l stop     // stop live-match-tracker

How to set up your own bot:

You need to install python packages with pip:

  • requirements.txt
discord.py==1.7.3
pillow==8.0.1
pymongo==3.12.0
dnspython==1.16.0
pandas==1.3.0
PyYAML==5.4.1
requests==2.25.1
  • Install via pip
pip install -r requirements.txt

And, you need to modify config/config.yml:

credentials:
  bot_token_key: ODEyXXXXXXXXXXXXXXXXXXXX.XXXXXX.XXXXXXXXXXXXXXXXXXXXXXXXXXX
  riot_api_key: RGAPI-XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
  mongodb_cluster: mongodb+srv://XXXXX:[email protected]/XXXXXXXX?XXXXXXXXXXX=XXXX&X=XXXXXXXX
font: # if empty, OS default fonts will be selected. (DejaVuSans.ttf, arial.ttf, AppleSDGothicNeo.ttc)
  name: # your_truetype_font.ttf or ttc

Finally,

Run src/SABot.py and type !l setup to your Discord server.

How to localization:

You can modify the file config/locale.yml to make changes easily.

For information such as game modes and maps, check the link below provided by CDragon and modify queues and maps.

(https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/)

locale: {
  na1: {
    queues: https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/queues.json,
    maps: https://raw.communitydragon.org/latest/plugins/rcp-be-lol-game-data/global/default/v1/maps.json,

    tracker_failed: Couldn't start Live-game tracker. Invaild Riot API key.,
    tracker_started: Live-game tracker was started.,
    tracker_stopped: Live-game tracker was stopped.,
    tracker_started_already: Live-game tracker is already working.,
    tracker_stopped_already: Live-game tracker was already stopped.,
    region: Region,
    tracker_list: Live-game tracker Summoner List,
    match_found: New match has been found!,
    loading: Loading data...,

    blue_team: Blue Team,
    red_team: Red Team,
    name: Name,
    tier: Tier,
    ratio: Ratio,
    wins:  Wins,
    losses: Losses,

    invalid_summoner_name: This summoner is not registered. Please check spelling.,
    exists_summoner_name: This summoner was already added in your channel.,
    error: Error occured!,
    db_error: Database Error Occurred.,
    success_added: Summoner have successfully registered.,
    success_removed: Summoner have successfully removed.,
    summoner_not_in_list: Summoner not listed. Enter `!l list` to confirm.,
  },

API Reference:

Owner
Jungyu Choi
Jungyu Choi
KaydyPurge - Python Purge Script for Discord made by Kaydy Cain#0001

How to Install Open terminal Execute "git clone https://github.com/apolo1337/Kay

apolo 5 Jan 27, 2022
Protect Discord server invite link

DiscordOauth2Join Protect discord server invite links! Setup I will not help setting up the discord application, but just python. First, install the r

ZEEE 4 Aug 12, 2021
Telegram client written in GTK & Python

Meowgram GTK Telegram Client 🐱 Why Meogram? Meowgram = Meow + Gram :D Meow - Talking cats sound. It's a symbol of unique and user friendly UI of clie

Artem Prokop 71 May 04, 2022
DeFi wallet on Chia Network.

DeFi wallet on Chia Network.

GobyWallet 21 Aug 12, 2022
Jira-cache - Jira cache with python

Direct queries to Jira have two issues: they are sloooooow many queries are impo

John Scott 6 Oct 08, 2022
A simple telegram bot to recognize lengthy voice files to text and vice versa with multiple language support.

Voicebot A simple Telegram bot to convert lengthy voice clips to text and vice versa with supporting languages. Mandatory Variables API_HASH - Yo

Renjith Mangal 12 Oct 21, 2022
Instrument asyncio Python for distributed tracing with AWS X-Ray.

xraysink (aka xray-asyncio) Extra AWS X-Ray instrumentation to use distributed tracing with asyncio Python libraries that are not (yet) supported by t

Gary Donovan 12 Nov 10, 2022
A stable telegram bot to get restricted messages with custom thumbnail support

Save restricted content Bot A stable telegram bot to get restricted messages with custom thumbnail support

DEVANSH 3 Feb 09, 2022
DevSecOps pipeline for Python based web app using Jenkins, Ansible, AWS, and open-source security tools and checks.

DevSecOps pipeline for Python Web App A Jenkins end-to-end DevSecOps pipeline for Python web application, hosted on AWS Ubuntu 20.04 Note: This projec

Devanshu Vashishtha 4 Aug 15, 2022
Make a command interpreter that manages AirBnb objects

AirBnB Clone Project Description This is part 1 of our AirBnb Clone project. The purpose of this project is to make a command interpreter that manages

Firdaus H. Salim 1 Nov 14, 2021
Defi PancakeSwap bot is programmed in Python to buy and sell tokens in seconds once the target is hit.

Defi PancakeSwap BOT A BOT that will make easy your life in Trading. Watch tutorial on Youtube Table of Contents About The Project Built With Getting

Zain Ullah 208 Jan 05, 2023
Bomber-X - A SMS Bomber made with Python

Bomber-X A SMS Bomber made with Python Linux/Termux apt update apt upgrade apt i

S M Shahriar Zarir 2 Mar 10, 2022
Checks if Minecraft accounts are available, or taken.

MCNameChecker Checks validity of Minecraft IGN's. Using async to make it even faster. Has rate-limit detections and Proxy support Usage Q. How do I us

Dimitri Demarkus 5 Apr 22, 2022
Stream Telegram files to web

Telegram File Stream Bot A Telegram bot to stream files to web Demo Bot » Report a Bug | Request Feature Table of Contents About this Bot Original Rep

Wrench 572 Jan 09, 2023
Assassination API for getting random quotes from Assassination Classroom.

Assassination API Take advantage of what you have, while you have it. Quotes from Assassination Classroom Assassination classroom is one of best anime

Swanand Mulay 3 Jul 15, 2022
telegram bot that calculates file hash / Dosya toplamı hesaplayan telegram botu

Telegram File Hash Bot FileHashBot: 🇬🇧 Bot that calculates file hashes. 🇹🇷 Dosya toplamları hesaplayan bot. Demo in Telegram: @FileHashBot 🇬🇧 Se

Hüzünlü Artemis [HuzunluArtemis] 5 Jun 29, 2022
Buy early bsc gems with custom gas fee, slippage, amount. Auto approve token after buy

Buy early bsc gems with custom gas fee, slippage, amount. Auto approve token after buy. Sell buyed token with custom gas fee, slippage, amount. And more.

Jesus Crypto 206 May 01, 2022
Spotify Web API client for Python 3

Welcome to the GitHub repository of Tekore! We provide a client for the Spotify Web API for Python, complete with all available endpoints and authenti

Felix Hildén 186 Dec 22, 2022
MONAI Deploy App SDK offers a framework and associated tools to design, develop and verify AI-driven applications in the healthcare imaging domain.

MONAI Deploy App SDK offers a framework and associated tools to design, develop and verify AI-driven applications in the healthcare imaging domain.

Project MONAI 49 Dec 23, 2022