You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
395 B
Python
14 lines
395 B
Python
from tipbot.helpers.decorators import wallet_rpc_required, log_event, check_debug
|
|
from tipbot.helpers.utils import is_tg_admin
|
|
from tipbot.wownero import Wallet
|
|
|
|
|
|
@wallet_rpc_required
|
|
@log_event
|
|
@check_debug
|
|
def debug(update, context):
|
|
if is_tg_admin(update.message.from_user['id']):
|
|
update.message.reply_text('ohai')
|
|
else:
|
|
update.message.reply_text('you cant do that.')
|