Coder Social home page Coder Social logo

adityarao127 / bballhq-discord-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 43.55 MB

Discord Bot with information about the NBA!

License: MIT License

Python 98.70% Dockerfile 0.64% Shell 0.66%
basketball discord discord-py looking-for-contributors looking-for-help nba-analytics nba-api nba-stats play-by-play data-scraping nba nba-visualization artificial-intelligence machine-learning open-source

bballhq-discord-bot's Introduction

BASKETBALL DISCORD BOT

Faster play-by-plays than ESPN Gamecast and NBA.com!

video13959273737.mp4

Other features:

video15959273737.mp4

Features

Shot Chart

Shot Chart

Play-by-play

Shot Chart

Scoreboard Example 1

Shot Chart

Scoreboard Example 2

Shot Chart

Player Stats

Shot Chart

Team Stats

Shot Chart

Latest News

Latest News

Contributions are welcome! Here's how to contribute:

  1. Clone the repository:

    git clone https://github.com/AdityaRao127/discordbot.git
    cd discordbot
    
  2. Create a virtual environment: python -m venv venv

  3. Activate virtual environment:

    Windows

    ./venv/Scripts/activate

    macOS and Linux

    source venv/bin/activate

  4. Installing dependencies

    pip install -r requirements.txt
    
  5. Setting Up a Test Discord Bot

    To contribute to the bot's development without the production bot token, you should set up a test Discord bot:

    1. Go to the Discord Developer Portal.
    2. Create a new application and name it (ex: testbot)
    3. Under the "Bot" tab, click "Add Bot".
    4. You will see a token under the bot username, click "Copy" to get your test bot token.
    5. Use this token in your local .env file:
  6. Running and Testing the Bot

    Reference the .env.example file at the top

    # create .env file with the following :
    DISCORD_TOKEN = discord_token_here ( see below)
    DISCORD_CHANNEL = discord_channel
    DISCORD_WOJ_TWEETS = Contact me for RSS FEED
    DISCORD_SHAMS_TWEETS = Contact me for RSS Feed
    

To start the bot, run the main.py file. The bot will appear online and start functioning as expected. To stop the bot, press Ctrl + C in the terminal or close the python terminal window.

  1. Check out notes.txt for ideas in development! Suggest new ones in Issues

Check out my GitHub Profile!

GitHub Profile

bballhq-discord-bot's People

Contributors

adityarao127 avatar

Watchers

Kostas Georgiou avatar  avatar

bballhq-discord-bot's Issues

API Response Speed

Need to find a free provider to deploy the discord bot to, in order to run 24/7.
API requests won't work when hosted on the cloud, times out too often.

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.