Giter Club home page Giter Club logo

betbot's Introduction

Hi there, I'm Elijah 👋

UNCC Computer Science Graduate!!🎓🖥️

Connect with me:

NULLPNTR | YouTube Elijah | LinkedIn



Elijah's github stats

Languages and Tools:

This is a representation of amount of code found in my repositories, this does not represent language understanding
does not include JavaScript
Top Langs
Python Java Visual Studio Code HTML5 CSS3 JavaScript React Node.js MySQL

📺 Latest YouTube Videos

➡️ more videos...


betbot's People

Contributors

erobin27 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

betbot's Issues

Bot Dead?

The bot has been offline for quite a while and I see there hasn't been any changes recently. Is there any simple way to self host this? I have a spare rpi running docker. Thanks for any help i loved the bot when it worked it would be 😭 sad for this to be the end of it.

Setup Help

Hello and thank you very much for this awesome project. I'm really looking forward to getting this all setup and was hoping i could get some help.

To get started clone the repo to your local machine and begin installing it's dependencies

What dependencies need to be installed?

You will need to setup your discord token and database connection info in a .env file in the project directory.

Can you give an example of how the .env file is to be setup?

I've never used MySQL before is there any further setup needed past just installing it? If so could you provide a quick tutorial on what steps to take in order to get the bot connected with mysql?

EDIT: After installing mysql i created a new database with the name UFC_BOT I added a username and password to the DB. But I'm still not sure about how the env file is supposed to be setup

EDIT2: I created a .env file using this information

APPID=MYID
TOKENTEST=MYTOKEN
user=MYUSERNAME
passwd=MYPASSWORD
database=UFC_BOT

I also installed each dependency it complained about when trying to run python BetBot.py

Now when i run python BetBot.py i get the following error.

C:\Discord_Bots\BetBot>python BetBot.py
Traceback (most recent call last):
  File "C:\Discord_Bots\BetBot\BetBot.py", line 7, in <module>
    import Database
  File "C:\Discord_Bots\BetBot\Database.py", line 5, in <module>
    db = mysql.connector.connect(
  File "C:\Users\THEKI\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\mysql\connector\__init__.py", line 274, in connect
    return MySQLConnection(*args, **kwargs)
  File "C:\Users\THEKI\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\mysql\connector\connection.py", line 115, in __init__
    self.connect(**kwargs)
  File "C:\Users\THEKI\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\mysql\connector\abstracts.py", line 1015, in connect
    self._open_connection()
  File "C:\Users\THEKI\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\mysql\connector\connection.py", line 429, in _open_connection
    self._do_auth(self._user, self._password,
  File "C:\Users\THEKI\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\mysql\connector\connection.py", line 230, in _do_auth
    self._auth_switch_request(username, password)
  File "C:\Users\THEKI\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\mysql\connector\connection.py", line 381, in _auth_switch_request
    raise errors.get_exception(packet)
mysql.connector.errors.ProgrammingError: 1045 (28000): Access denied for user ''@'localhost' (using password: NO)

Now i'm stuck again but feel like im getting much closer.

[FEATURE REQUEST] Lifetime Player Stats, UFC quiz for points, etc.

Hello i would like to add some feature requests if that is even a thing for this project. I'm not capable of adding these things to the project but would be willing to try and kick in a few bucks if that could help improve the betbots usefulness.

Lifetime Player Stats
/mystats display your win loss stats with the ability to choose from a drop box which ufc event you would like more info about the bets played for that event.

/discordIDstats Same as above but see other users lifetime stats and bets made.

Event Schedule Reminders

@everyone with the scheduled card/time/location for example the day before an event and then again 30m before

UFC related games/polls/dailies to earn money

Add polls and quiz for people to attempt to win/earn more spending cash for the betbot

Balance not updating

After placing wagers the bot subtracts the proper amount form the balance but after the fights finish the balance is not updated with the winnings.

For example the UFC 268 card i spread $19 worth of wagers out across 8 fights. I picked the winning fighter in each fight but my balance says its at $481.00

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.