GithubHelp home page GithubHelp logo

reddbot-telegram's Introduction

img

reddbot-telegram's People

Contributors

deomaius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

reddbot-telegram's Issues

-*- coding: utf-8 -*-

Hello, I tried to setup the Tipbot but I got the error message
File "command.py", line 1
-- coding: utf-8 --
^
SyntaxError: invalid syntax

I put a # in front of the -- coding: utf-8 -- and it worked

Erro in /withdraw and /tip

I used this tutorial to perform the bot: https://github.com/DigitalCoin1/TipBot_SperoCoin

I am having problems with this bot in the / spero_tip and / spero_withdraw functions only.
The errors I receive are as follows:

/spero_tip @user
telegram.ext.dispatcher - ERROR - An uncaught error was raised while processing the update
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/python_telegram_bot-11.1.0-py3.5.egg/telegram/ext/dispatcher.py", line 301, in process_update
handler.handle_update(update, self)
File "/usr/local/lib/python3.5/dist-packages/python_telegram_bot-11.1.0-py3.5.egg/telegram/ext/commandhandler.py", line 173, in handle_update
return self.callback(dispatcher.bot, update, **optional_args)
File "command.py", line 54, in spero_tip
amount = float(amount)
ValueError: could not convert string to float: '@francissantana'
/spero_withdraw

telegram.ext.dispatcher - ERROR - An uncaught error was raised while processing the update
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/python_telegram_bot-11.1.0-py3.5.egg/telegram/ext/dispatcher.py", line 301, in process_update
handler.handle_update(update, self)
File "/usr/local/lib/python3.5/dist-packages/python_telegram_bot-11.1.0-py3.5.egg/telegram/ext/commandhandler.py", line 173, in handle_update
return self.callback(dispatcher.bot, update, **optional_args)
File "command.py", line 90, in spero_withdraw
amount = float(target)
ValueError: could not convert string to float: 'rZav53UV5gaV69PKkqUjaBqPz 0.01'

Configuration

Google Cloud Engine + Ubuntu 16.04

Version of Python, python-telegram-bot & dependencies:

$ python3 -m telegram
python-telegram-bot 11.1.0
certifi 2018.08.24
future 0.16.0
Python 3.5.2 (default, Nov 23 2017, 16:37:01) [GCC 5.4.0 20160609]

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.