Git Product home page Git Product logo

pykebot's Introduction

PykeBot

alt text

Build Status codecov

PykeBot is a Discord bot that collects League of Legends summoner names for the participants of tournaments. Given a link the bot will find all players in the tournament and build op.gg multilinks for them. Furthermore, the bot can go on op.gg and add soloQ rankings to each team and player.

For now PykeBot supports SINN League, Toornament, Premiertour and Challengermode.

Installation

PykeBot requires Python Version 3.7 or newer. The required libraries can be installed via pip. Simply run pip install -r requirements.txt in the project folder.

The geckodriver can be found here https://github.com/mozilla/geckodriver/releases for windows user simply place the geckodriver.exe in the same folder as this project. Firefox needs to be installed in order for this to work.

PykeBot also requires a valid Discord api token which needs to be placed in a file called TOKEN in the project folder. A tutorial on how to create a Discord Bot and token can be found here: https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token

Usage

Running main.py will start the Discord Bot which will await commands. Available commands are:

.lolstalk url

.lolextstalk url

.lolstalkf url

.lolextstalkf url

.lolsetregion region

  • "stalk" will return team names and multilinks for teams in the given tournament or match.
  • "extstalk" additionally collects the player soloQ rankings. This will take longer to run.
  • "stalkf" does the same as stalk but returns a text file instead.
  • "extstalkf" does the same as extstalk but returns a text file instead.
  • "setregion" will update the region used in the multilinks and player lookups.

Features

The following links can be stalked:

  • Toornament Tournaments

  • Challengermode Matches

  • Summoners INN League Seasons

  • Summoners INN League Groups

  • Summoners INN League Teams

  • PremierTour Leagues

Stalking PremierTour Leagues will take a significant amount of time.

TODO

  • finish challengermode tournament stalker
  • add ESL stalking
  • add Battlefy stalking
  • Output as file option

Credit

The PykeBot Icon was designed by the talented Binidi: https://www.deviantart.com/binidi/art/Pyke-Icon-808245658

pykebot's People

Contributors

lolsayna avatar twalord avatar

Forkers

lindberghh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.