mirror of
https://github.com/wownero/tippero.git
synced 2026-10-22 18:18:37 +02:00
twitter: recognize integers as amounts, not just floats
This commit is contained in:
@@ -27,7 +27,7 @@ from tipbot.utils import *
|
||||
from tipbot.command_manager import *
|
||||
from tipbot.network import *
|
||||
|
||||
amount_regexp="\+[0-9]*\.[0-9]*"
|
||||
amount_regexp="\+[0-9]*(\.[0-9]*)?"
|
||||
username_regexp="@[a-zA-Z0-9_]+|[a-zA-Z]+:[a-zA-Z0-9]+"
|
||||
|
||||
force_parse_self = False
|
||||
|
||||
Reference in New Issue
Block a user