mirror of
https://git.wownero.com/lza_menace/tg-bot.git
synced 2024-08-15 00:23:12 +00:00
12 lines
306 B
Python
12 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.')
|