Coder Social home page Coder Social logo

poker-telegram-bot's People

Contributors

dependabot[bot] avatar hedhyw avatar thaithimyduyen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

poker-telegram-bot's Issues

ERROR - The cards are not showing (no cards)

Hello @thaithimyduyen how are you? I m trying to test this project but faced some dificulties

Created a file token.txt with content:
TOKEN="YOUR TOKEN"
replacing YOUR TOKEN to my token eg:
TOKEN="21321321dsadasds123113213"
But got invalid token, so bypassed it on main.py

#!/usr/bin/env python3

from app.pokerbot import PokerBot



def main():
    token = "21321321dsadasds123113213"
    bot = PokerBot(token=token)
    bot.run()


if __name__ == "__main__":
    main()

then it started listening so after /ready command got this error:

redis.exceptions.ConnectionError: Error 111 connecting to localhost:6379. Connection refused.
Solved by installing redis-server

sudo apt-get install redis-server

After that game start working but cards are not sent by bot and getting "no cards".

Do you have any idea?

Thank you!!!

How to give money to player?

Daily bonus - boring. We're playing for take-off. And than we want to play again with different balance. How to egit or set balance for players?

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.