deomaius / reddbot-telegram Goto Github PK
View Code? Open in Web Editor NEWSimple cryptocurrency Telegram tip-bot
Simple cryptocurrency Telegram tip-bot
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
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'
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]
Could you please license it in some free open source license.
According to github's policy
without a license, the default copyright laws apply, meaning that you retain all rights to your source code and no one may reproduce, distribute, or create derivative works from your work
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.