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.
12 lines
306 B
Python
12 lines
306 B
Python
4 years ago
|
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.')
|