tg-bot/tipbot/commands/debug.py
2020-08-05 22:52:13 -07:00

11 lines
306 B
Python

from tipbot.helpers.decorators import wallet_rpc_required, log_event
from tipbot.helpers.utils import is_tg_admin
@wallet_rpc_required
@log_event
def debug(update, context):
if is_tg_admin(update.message.from_user['id']):
pass
else:
update.message.reply_text('you cant do that.')