0x0is1 / cricbot-mkI

Cricket bot embedded with Discord API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cricbot - yahoo! cricket info provider discord bot

ATTENTION! We are closing this project due to API shut down by Yahoo! cricket. Please wait for next version of cricbot (cricbot-mkII).

image

Description

Cricbot is a discord bot made with Cricbot API developed by 0x0is1 to provide all live data from yahoo! Cricket directly to your discord server.

Install

You can invite link to call this bot your discord server.

Host

You can also host this bot by using following processes:

  • Download this repository directly or by using git cli i.e-
> git clone https://github.com/0x0is1/cricbot
> cd cricbot
> python3 -m pip install requirements.txt
> export EXPERIMENTAL_BOT_TOKEN='<Your bot token here>'
> python3 app.py
  • Or you can host it on heroku, the Procfile is already provided.

Requirements

  • Python3.5+
  • python-requests (requests)
  • discord.py (discord)
  • numpy-python
  • pillow-python (PIL)

Compatibilty (for hosting this bot particularly)

Any device that can run Python3.5+ including raspberry pi and other OS'es.

Commands arguments

  • schedule: [live/upcoming/ended]
  • team: [match number in schedule]
  • partneship: [match number in schedule]
  • partnership current: [match number in schedule]
  • score: [match number in schedule]
  • scorecard: [match number in schedule]
  • playercard: [match number in schedule]
  • againstcard [match number in schedule]
  • shots: [match number in schedule]
  • heatmap: [match number in schedule]
  • leaderboard: [t20/odi/test] [bat/bowl/allrounder]
  • fall of wicket: [match number in schedule]
  • powerplay: [match number in schedule]
  • lastovers: [match number in schedule]
  • fantasy insight: [match number in schedule]

Feedback and bug report

Send feedback or bug report to our developers on this mail id.

Previews

  • Heatmap
  • Fantasy Insight
  • Boundries
  • Schedule
  • Fall of wickets
  • Partnership
  • Score

About

Cricket bot embedded with Discord API


Languages

Language:Python 100.0%