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.
13 lines
332 B
Python
13 lines
332 B
Python
from tipbot.helpers.decorators import wallet_rpc_required, log_event, check_debug
|
|
from tipbot.helpers.utils import is_tg_admin
|
|
|
|
|
|
@wallet_rpc_required
|
|
@log_event
|
|
@check_debug
|
|
def debug(update, context):
|
|
if is_tg_admin(update.message.from_user['id']):
|
|
pass
|
|
else:
|
|
update.message.reply_text('you cant do that.')
|