Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refresh #17

Open
mehranj73 opened this issue Oct 3, 2018 · 1 comment
Open

refresh #17

mehranj73 opened this issue Oct 3, 2018 · 1 comment

Comments

@mehranj73
Copy link

I built a telegram bot with this wrapper. but for example when I want to get the status or news, it always shows me the same thing, unless I stop the bot from the server and start again.

@nicolaskenner
Copy link
Owner

Someone had a similar issue in the past with a Discord bot. The problem was that he was calling the news method only once in the program. The solution was to put the api call in the function that runs when the bot is requested.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants