|
|
@ -3,12 +3,13 @@ from decimal import Decimal
|
|
|
|
from telegram import ParseMode
|
|
|
|
from telegram import ParseMode
|
|
|
|
from tipbot import wownero
|
|
|
|
from tipbot import wownero
|
|
|
|
from tipbot import db
|
|
|
|
from tipbot import db
|
|
|
|
from tipbot.helpers.decorators import wallet_rpc_required, log_event, registration_required
|
|
|
|
from tipbot.helpers.decorators import wallet_rpc_required, log_event, registration_required, check_debug
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@wallet_rpc_required
|
|
|
|
@wallet_rpc_required
|
|
|
|
@registration_required
|
|
|
|
@registration_required
|
|
|
|
@log_event
|
|
|
|
@log_event
|
|
|
|
|
|
|
|
@check_debug
|
|
|
|
def withdraw(update, context):
|
|
|
|
def withdraw(update, context):
|
|
|
|
if len(context.args) < 2:
|
|
|
|
if len(context.args) < 2:
|
|
|
|
update.message.reply_text('Not enough arguments passed.')
|
|
|
|
update.message.reply_text('Not enough arguments passed.')
|
|
|
|