2020-08-06 20:40:03 +00:00
|
|
|
from tipbot.helpers.decorators import wallet_rpc_required, log_event, check_debug
|
2020-08-06 05:52:13 +00:00
|
|
|
from tipbot.helpers.utils import is_tg_admin
|
2021-05-08 06:50:39 +00:00
|
|
|
from tipbot.wownero import Wallet
|
2020-08-06 05:52:13 +00:00
|
|
|
|
|
|
|
|
|
|
|
@wallet_rpc_required
|
|
|
|
@log_event
|
2020-08-06 20:40:03 +00:00
|
|
|
@check_debug
|
2020-08-06 05:52:13 +00:00
|
|
|
def debug(update, context):
|
|
|
|
if is_tg_admin(update.message.from_user['id']):
|
2021-05-08 06:50:39 +00:00
|
|
|
update.message.reply_text('ohai')
|
2020-08-06 05:52:13 +00:00
|
|
|
else:
|
|
|
|
update.message.reply_text('you cant do that.')
|