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